#B8A6FC#B8A6FC
#B8A6FC is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.3% C 0.122 H 292.9°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A6FC |
|---|---|
| RGB | rgb(184, 166, 252) |
| HSL | hsl(253, 93%, 82%) |
| HSV | hsv(253, 34%, 99%) |
| CMYK | cmyk(27%, 34.1%, 0%, 1.2%) |
| CIE-LAB | lab(72.56, 24.52, -40.41) |
| CIE-LCH | lch(72.56, 47.26, 301.25°) |
| OKLab | oklab(77.3% 0.0475 -0.1123) |
| OKLCH | oklch(77.3% 0.122 292.9) |
| XYZ | xyz(50.9698, 44.4903, 97.9787) |
| Luminance | 0.4449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.73
Pale Violet
#CEAEFA
ΔE00 5.26
Lilac (survey)
#CEA2FD
ΔE00 5.38
Lavender (survey)
#C79FEF
ΔE00 5.63
Baby Purple
#CA9BF7
ΔE00 5.98
Lavender
#B39DDB
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A6FC #EAFCA6
analogous
#A6BFFC #B8A6FC #E3A6FC
triadic
#B8A6FC #FCB8A6 #A6FCB8
tetradic
#B8A6FC #FCA6BF #EAFCA6 #A6FCE3
square
#B8A6FC #FCA6BF #EAFCA6 #A6FCE3
split-complementary
#B8A6FC #FCE3A6 #BFFCA6
monochromatic
#5A30F8 #896BFA #B8A6FC #E7E1FE #E7E1FE
Accessibility & contrast
On white
2.12
#B8A6FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#B8A6FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A6FC
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A6FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A6FC | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#91B0FA
Tritanopia (blue-blind)
#A9B5C6
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b8a6fc; /* rgb */ color: rgb(184, 166, 252); /* oklch */ color: oklch(77.3% 0.122 292.9);
Tailwind
colors: {
custom: {
50: '#cfc0fd',
500: '#b8a6fc',
950: '#000000',
},
}SCSS
$custom: #b8a6fc; $custom-light: #cfc0fd; $custom-dark: #000000;
JSON
{
"hex": "#b8a6fc",
"rgb": {
"r": 184,
"g": 166,
"b": 252
},
"hsl": {
"h": 252.558,
"s": 93.478,
"l": 81.961
},
"oklch": {
"l": 0.77295,
"c": 0.12198,
"h": 292.9
},
"luminance": 0.44491
}Semantic roles & 50–950 ramp
primary
#B8A6FC
secondary
#EFF6D5
accent
#E600B5
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185