#BAA7EA#BAA7EA
#BAA7EA is a light, moderate violet. Relative luminance 0.440; OKLCH L 76.9% C 0.096 H 297.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA7EA |
|---|---|
| RGB | rgb(186, 167, 234) |
| HSL | hsl(257, 61%, 79%) |
| HSV | hsv(257, 29%, 92%) |
| CMYK | cmyk(20.5%, 28.6%, 0%, 8.2%) |
| CIE-LAB | lab(72.24, 20.35, -31.11) |
| CIE-LCH | lch(72.24, 37.17, 303.19°) |
| OKLab | oklab(76.85% 0.0438 -0.0857) |
| OKLCH | oklch(76.85% 0.096 297.1) |
| XYZ | xyz(48.9164, 44.0167, 83.7449) |
| Luminance | 0.4402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.20
Pale Violet
#CEAEFA
ΔE00 4.04
Lavender (survey)
#C79FEF
ΔE00 4.47
Light Violet
#D6B4FC
ΔE00 5.52
Lilac (survey)
#CEA2FD
ΔE00 5.61
Pastel Purple
#CAA0FF
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA7EA #D7EAA7
analogous
#A7B5EA #BAA7EA #DBA7EA
triadic
#BAA7EA #EABAA7 #A7EABA
tetradic
#BAA7EA #EAA7B5 #D7EAA7 #A7EADB
square
#BAA7EA #EAA7B5 #D7EAA7 #A7EADB
split-complementary
#BAA7EA #EADBA7 #B5EAA7
monochromatic
#6D44D2 #9376DE #BAA7EA #E1D8F6 #ECE6F9
Accessibility & contrast
On white
2.14
#BAA7EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#BAA7EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA7EA
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA7EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA7EA | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98B1ED
Deuteranopia (green-blind)
#9AB0E8
Tritanopia (blue-blind)
#B1B2BF
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #baa7ea; /* rgb */ color: rgb(186, 167, 234); /* oklch */ color: oklch(76.9% 0.096 297.1);
Tailwind
colors: {
custom: {
50: '#cfc1f1',
500: '#baa7ea',
950: '#000000',
},
}SCSS
$custom: #baa7ea; $custom-light: #cfc1f1; $custom-dark: #000000;
JSON
{
"hex": "#baa7ea",
"rgb": {
"r": 186,
"g": 167,
"b": 234
},
"hsl": {
"h": 257.015,
"s": 61.468,
"l": 78.627
},
"oklch": {
"l": 0.76855,
"c": 0.09624,
"h": 297.1
},
"luminance": 0.44017
}Semantic roles & 50–950 ramp
primary
#BAA7EA
secondary
#EAF0DB
accent
#C91C98
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184