#BA99CA#BA99CA
#BA99CA is a light, moderate purple. Relative luminance 0.375; OKLCH L 72.9% C 0.078 H 314.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #BA99CA |
|---|---|
| RGB | rgb(186, 153, 202) |
| HSL | hsl(280, 32%, 70%) |
| HSV | hsv(280, 24%, 79%) |
| CMYK | cmyk(7.9%, 24.3%, 0%, 20.8%) |
| CIE-LAB | lab(67.64, 21.22, -20.55) |
| CIE-LCH | lch(67.64, 29.54, 315.92°) |
| OKLab | oklab(72.93% 0.055 -0.0558) |
| OKLCH | oklch(72.93% 0.078 314.6) |
| XYZ | xyz(42.2999, 37.4864, 60.8729) |
| Luminance | 0.3749 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 4.61
Pale Purple
#B790D4
ΔE00 4.69
Lavender
#B39DDB
ΔE00 5.12
Plum
#DDA0DD
ΔE00 6.98
Lavender (survey)
#C79FEF
ΔE00 7.32
Heather
#A484AC
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA99CA #A9CA99
analogous
#A299CA #BA99CA #CA99C2
triadic
#BA99CA #CABA99 #99CABA
tetradic
#BA99CA #CAA299 #A9CA99 #99C2CA
square
#BA99CA #CAA299 #A9CA99 #99C2CA
split-complementary
#BA99CA #C2CA99 #99CAA2
monochromatic
#815099 #9F71B5 #BA99CA #D5C1DF #F0EAF4
Accessibility & contrast
On white
2.47
#BA99CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#BA99CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA99CA
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA99CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA99CA | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92A3CC
Deuteranopia (green-blind)
#99A6C8
Tritanopia (blue-blind)
#B99FAA
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #ba99ca; /* rgb */ color: rgb(186, 153, 202); /* oklch */ color: oklch(72.9% 0.078 314.6);
Tailwind
colors: {
custom: {
50: '#cfb7da',
500: '#ba99ca',
950: '#000000',
},
}SCSS
$custom: #ba99ca; $custom-light: #cfb7da; $custom-dark: #000000;
JSON
{
"hex": "#ba99ca",
"rgb": {
"r": 186,
"g": 153,
"b": 202
},
"hsl": {
"h": 280.408,
"s": 31.613,
"l": 69.608
},
"oklch": {
"l": 0.72929,
"c": 0.07834,
"h": 314.6
},
"luminance": 0.37486
}Semantic roles & 50–950 ramp
primary
#BA99CA
secondary
#DDE6D8
accent
#AA3B5F
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141114
muted
#828083