#BAA5EA#BAA5EA
#BAA5EA is a light, moderate violet. Relative luminance 0.433; OKLCH L 76.5% C 0.099 H 298.0°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA5EA |
|---|---|
| RGB | rgb(186, 165, 234) |
| HSL | hsl(258, 62%, 78%) |
| HSV | hsv(258, 29%, 92%) |
| CMYK | cmyk(20.5%, 29.5%, 0%, 8.2%) |
| CIE-LAB | lab(71.75, 21.46, -31.86) |
| CIE-LCH | lch(71.75, 38.41, 303.96°) |
| OKLab | oklab(76.48% 0.0467 -0.0878) |
| OKLCH | oklch(76.48% 0.099 298) |
| XYZ | xyz(48.5528, 43.2896, 83.6237) |
| Luminance | 0.4329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 2.92
Lavender (survey)
#C79FEF
ΔE00 3.96
Pale Violet
#CEAEFA
ΔE00 4.02
Lilac (survey)
#CEA2FD
ΔE00 5.18
Pastel Purple
#CAA0FF
ΔE00 5.20
Baby Purple
#CA9BF7
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA5EA #D5EAA5
analogous
#A5B2EA #BAA5EA #DCA5EA
triadic
#BAA5EA #EABAA5 #A5EABA
tetradic
#BAA5EA #EAA5B2 #D5EAA5 #A5EADC
square
#BAA5EA #EAA5B2 #D5EAA5 #A5EADC
split-complementary
#BAA5EA #EADCA5 #B2EAA5
monochromatic
#6E42D3 #9473DE #BAA5EA #E0D7F6 #ECE6F9
Accessibility & contrast
On white
2.17
#BAA5EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#BAA5EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA5EA
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA5EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA5EA | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95B0ED
Deuteranopia (green-blind)
#99AFE8
Tritanopia (blue-blind)
#B1B0BE
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #baa5ea; /* rgb */ color: rgb(186, 165, 234); /* oklch */ color: oklch(76.5% 0.099 298.0);
Tailwind
colors: {
custom: {
50: '#cfbff1',
500: '#baa5ea',
950: '#000000',
},
}SCSS
$custom: #baa5ea; $custom-light: #cfbff1; $custom-dark: #000000;
JSON
{
"hex": "#baa5ea",
"rgb": {
"r": 186,
"g": 165,
"b": 234
},
"hsl": {
"h": 258.261,
"s": 62.162,
"l": 78.235
},
"oklch": {
"l": 0.7648,
"c": 0.09944,
"h": 298
},
"luminance": 0.4329
}Semantic roles & 50–950 ramp
primary
#BAA5EA
secondary
#EAF1DA
accent
#CA1C95
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184