#BAA6EC#BAA6EC
#BAA6EC is a light, moderate violet. Relative luminance 0.438; OKLCH L 76.8% C 0.101 H 297.1°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA6EC |
|---|---|
| RGB | rgb(186, 166, 236) |
| HSL | hsl(257, 65%, 79%) |
| HSV | hsv(257, 30%, 93%) |
| CMYK | cmyk(21.2%, 29.7%, 0%, 7.5%) |
| CIE-LAB | lab(72.07, 21.36, -32.45) |
| CIE-LCH | lch(72.07, 38.85, 303.35°) |
| OKLab | oklab(76.75% 0.0458 -0.0895) |
| OKLCH | oklch(76.75% 0.101 297.1) |
| XYZ | xyz(49.0229, 43.7673, 85.2058) |
| Luminance | 0.4377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.33
Pale Violet
#CEAEFA
ΔE00 3.95
Lavender (survey)
#C79FEF
ΔE00 4.17
Pastel Purple
#CAA0FF
ΔE00 5.16
Lilac (survey)
#CEA2FD
ΔE00 5.20
Light Violet
#D6B4FC
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA6EC #D8ECA6
analogous
#A6B5EC #BAA6EC #DDA6EC
triadic
#BAA6EC #ECBAA6 #A6ECBA
tetradic
#BAA6EC #ECA6B5 #D8ECA6 #A6ECDD
square
#BAA6EC #ECA6B5 #D8ECA6 #A6ECDD
split-complementary
#BAA6EC #ECDDA6 #B5ECA6
monochromatic
#6C41D6 #9374E1 #BAA6EC #E1D8F7 #EBE6FA
Accessibility & contrast
On white
2.15
#BAA6EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#BAA6EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA6EC
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA6EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA6EC | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96B1EF
Deuteranopia (green-blind)
#99B0EA
Tritanopia (blue-blind)
#B1B1BF
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #baa6ec; /* rgb */ color: rgb(186, 166, 236); /* oklch */ color: oklch(76.8% 0.101 297.1);
Tailwind
colors: {
custom: {
50: '#cfc0f2',
500: '#baa6ec',
950: '#000000',
},
}SCSS
$custom: #baa6ec; $custom-light: #cfc0f2; $custom-dark: #000000;
JSON
{
"hex": "#baa6ec",
"rgb": {
"r": 186,
"g": 166,
"b": 236
},
"hsl": {
"h": 257.143,
"s": 64.815,
"l": 78.824
},
"oklch": {
"l": 0.76752,
"c": 0.10054,
"h": 297.1
},
"luminance": 0.43768
}Semantic roles & 50–950 ramp
primary
#BAA6EC
secondary
#EAF1DA
accent
#CD1999
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185