#B8A0FE#B8A0FE
#B8A0FE is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.3% C 0.134 H 294.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A0FE |
|---|---|
| RGB | rgb(184, 160, 254) |
| HSL | hsl(255, 98%, 81%) |
| HSV | hsv(255, 37%, 100%) |
| CMYK | cmyk(27.6%, 37%, 0%, 0.4%) |
| CIE-LAB | lab(71.21, 28.34, -43.60) |
| CIE-LCH | lch(71.21, 52.00, 303.03°) |
| OKLab | oklab(76.29% 0.0561 -0.1215) |
| OKLCH | oklch(76.29% 0.134 294.8) |
| XYZ | xyz(50.2230, 42.4871, 99.3015) |
| Luminance | 0.4249 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 3.93
Lilac (survey)
#CEA2FD
ΔE00 4.87
Baby Purple
#CA9BF7
ΔE00 5.06
Lavender (survey)
#C79FEF
ΔE00 5.31
Liliac
#C48EFD
ΔE00 5.94
Pale Violet
#CEAEFA
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A0FE #E6FEA0
analogous
#A0B7FE #B8A0FE #E7A0FE
triadic
#B8A0FE #FEB8A0 #A0FEB8
tetradic
#B8A0FE #FEA0B7 #E6FEA0 #A0FEE7
square
#B8A0FE #FEA0B7 #E6FEA0 #A0FEE7
split-complementary
#B8A0FE #FEE7A0 #B7FEA0
monochromatic
#5D27FD #8B63FD #B8A0FE #E5DDFF #E8E1FF
Accessibility & contrast
On white
2.21
#B8A0FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#B8A0FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A0FE
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A0FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A0FE | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#8AADFC
Tritanopia (blue-blind)
#A9B0C3
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b8a0fe; /* rgb */ color: rgb(184, 160, 254); /* oklch */ color: oklch(76.3% 0.134 294.8);
Tailwind
colors: {
custom: {
50: '#cfbcff',
500: '#b8a0fe',
950: '#000000',
},
}SCSS
$custom: #b8a0fe; $custom-light: #cfbcff; $custom-dark: #000000;
JSON
{
"hex": "#b8a0fe",
"rgb": {
"r": 184,
"g": 160,
"b": 254
},
"hsl": {
"h": 255.319,
"s": 97.917,
"l": 81.176
},
"oklch": {
"l": 0.76293,
"c": 0.13384,
"h": 294.8
},
"luminance": 0.42488
}Semantic roles & 50–950 ramp
primary
#B8A0FE
secondary
#EEF7D4
accent
#E600AB
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141218
muted
#828186