#B8A0FB#B8A0FB
#B8A0FB is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.2% C 0.130 H 295.3°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A0FB |
|---|---|
| RGB | rgb(184, 160, 251) |
| HSL | hsl(256, 92%, 81%) |
| HSV | hsv(256, 36%, 98%) |
| CMYK | cmyk(26.7%, 36.3%, 0%, 1.6%) |
| CIE-LAB | lab(71.07, 27.62, -42.18) |
| CIE-LCH | lch(71.07, 50.42, 303.22°) |
| OKLab | oklab(76.15% 0.0554 -0.1174) |
| OKLCH | oklch(76.15% 0.13 295.3) |
| XYZ | xyz(49.7464, 42.2964, 96.7912) |
| Luminance | 0.4230 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 3.79
Lilac (survey)
#CEA2FD
ΔE00 4.67
Baby Purple
#CA9BF7
ΔE00 4.83
Lavender (survey)
#C79FEF
ΔE00 4.91
Pale Violet
#CEAEFA
ΔE00 5.66
Liliac
#C48EFD
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A0FB #E3FBA0
analogous
#A0B5FB #B8A0FB #E5A0FB
triadic
#B8A0FB #FBB8A0 #A0FBB8
tetradic
#B8A0FB #FBA0B5 #E3FBA0 #A0FBE5
square
#B8A0FB #FBA0B5 #E3FBA0 #A0FBE5
split-complementary
#B8A0FB #FBE5A0 #B5FBA0
monochromatic
#602BF6 #8C65F9 #B8A0FB #E4DBFD #E9E2FE
Accessibility & contrast
On white
2.22
#B8A0FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#B8A0FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A0FB
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A0FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A0FB | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88AFFF
Deuteranopia (green-blind)
#8BADF9
Tritanopia (blue-blind)
#AAB0C2
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b8a0fb; /* rgb */ color: rgb(184, 160, 251); /* oklch */ color: oklch(76.2% 0.130 295.3);
Tailwind
colors: {
custom: {
50: '#cfbcfd',
500: '#b8a0fb',
950: '#000000',
},
}SCSS
$custom: #b8a0fb; $custom-light: #cfbcfd; $custom-dark: #000000;
JSON
{
"hex": "#b8a0fb",
"rgb": {
"r": 184,
"g": 160,
"b": 251
},
"hsl": {
"h": 255.824,
"s": 91.919,
"l": 80.588
},
"oklch": {
"l": 0.76151,
"c": 0.12985,
"h": 295.3
},
"luminance": 0.42297
}Semantic roles & 50–950 ramp
primary
#B8A0FB
secondary
#EDF6D5
accent
#E600A9
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185