#B8A2FE#B8A2FE
#B8A2FE is a light, vivid violet. Relative luminance 0.432; OKLCH L 76.7% C 0.131 H 294.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A2FE |
|---|---|
| RGB | rgb(184, 162, 254) |
| HSL | hsl(254, 98%, 82%) |
| HSV | hsv(254, 36%, 100%) |
| CMYK | cmyk(27.6%, 36.2%, 0%, 0.4%) |
| CIE-LAB | lab(71.68, 27.23, -42.85) |
| CIE-LCH | lch(71.68, 50.77, 302.43°) |
| OKLab | oklab(76.66% 0.0534 -0.1194) |
| OKLCH | oklch(76.66% 0.131 294.1) |
| XYZ | xyz(50.5725, 43.1861, 99.4180) |
| Luminance | 0.4319 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.14
Lilac (survey)
#CEA2FD
ΔE00 5.01
Baby Purple
#CA9BF7
ΔE00 5.35
Lavender (survey)
#C79FEF
ΔE00 5.43
Pale Violet
#CEAEFA
ΔE00 5.75
Liliac
#C48EFD
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A2FE #E8FEA2
analogous
#A2BAFE #B8A2FE #E6A2FE
triadic
#B8A2FE #FEB8A2 #A2FEB8
tetradic
#B8A2FE #FEA2BA #E8FEA2 #A2FEE6
square
#B8A2FE #FEA2BA #E8FEA2 #A2FEE6
split-complementary
#B8A2FE #FEE6A2 #BAFEA2
monochromatic
#5C29FD #8A65FD #B8A2FE #E6DFFF #E8E1FF
Accessibility & contrast
On white
2.18
#B8A2FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#B8A2FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A2FE
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A2FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A2FE | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#8CAEFC
Tritanopia (blue-blind)
#A9B2C4
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b8a2fe; /* rgb */ color: rgb(184, 162, 254); /* oklch */ color: oklch(76.7% 0.131 294.1);
Tailwind
colors: {
custom: {
50: '#cfbdff',
500: '#b8a2fe',
950: '#000000',
},
}SCSS
$custom: #b8a2fe; $custom-light: #cfbdff; $custom-dark: #000000;
JSON
{
"hex": "#b8a2fe",
"rgb": {
"r": 184,
"g": 162,
"b": 254
},
"hsl": {
"h": 254.348,
"s": 97.872,
"l": 81.569
},
"oklch": {
"l": 0.76656,
"c": 0.13077,
"h": 294.1
},
"luminance": 0.43187
}Semantic roles & 50–950 ramp
primary
#B8A2FE
secondary
#EFF7D4
accent
#E600AF
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141218
muted
#828186