#BA98F1 color
The hex color #BA98F1 is a light, moderate violet.
In the RGB color model it is made of 72.9% red, 59.6% green and 94.5% blue (186, 152, 241).
Its hue angle is 263°, with 76% saturation and 77% lightness. For print, the CMYK equivalent is 23% cyan, 37% magenta, 0% yellow and 5% black.
The closest named color is Dreamy Candy Forest (#B195E4), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.85:1).
#BA98F1 color codes
| HEX | #BA98F1 | |
|---|---|---|
| RGB | rgb(186, 152, 241) | |
| RGB percent | rgb(72.9%, 59.6%, 94.5%) | |
| HSL | hsl(263, 76%, 77%) | |
| HSV / HSB | hsv(263, 37%, 95%) | |
| CMYK | cmyk(23%, 37%, 0%, 5%) | |
| CIE LAB | lab(68.93, 30.3, -40.07) | |
| CIE LCH | lch(68.93, 50.23, 307.1) | |
| CIE XYZ | xyz(47.352, 39.246, 88.283) | |
| Decimal | 12228849 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #BA98F1, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #BA98F1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.85:1 | Pass | Pass | Pass |
| Sample text | 2.37:1 | Fail | Fail | Fail |
| #BA98F1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.37:1 | Fail | Fail | Fail |
| Sample text | 8.85:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #BA98F1 looks to people with the most common types of color vision deficiency.
#82a8f4Protanopia
no red cones#89a8efDeuteranopia
no green cones#b0a6b9Tritanopia
no blue cones#a8a8a8Achromatopsia
no color vision
CSS examples
.background { background-color: #ba98f1; }
.text { color: #ba98f1; }
.border { border: 2px solid #ba98f1; }
.transparent { background-color: rgb(186 152 241 / 50%); }
.gradient { background: linear-gradient(to right, #ba98f1, #e698f1); }
Similar colors
#b195e4Dreamy Candy Forest#c9a0ffDiva#cc99eeDream Vapour#b19cd9Violet Velvet#cc99ddSomewhere in a Fairytale#ddaaffTestosterose#c9a0dcWisteria#bfa3d9Enchanted Lavender
Questions
- What color is #BA98F1?
- #BA98F1 is a light, moderate violet, closest to the named color Dreamy Candy Forest. It belongs to the purple family of colors.
- What is the RGB value of #BA98F1?
- The RGB value is 186, 152, 241: 186 red, 152 green and 241 blue on a 0 to 255 scale.
- What is the complementary color of #BA98F1?
- The complementary color is #CFF198, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #BA98F1?
- Black text. Black text has a contrast ratio of 8.85:1 and white text 2.37:1. WCAG asks for at least 4.5:1 for normal text.