#B9A2FD#B9A2FD
#B9A2FD is a light, vivid violet. Relative luminance 0.432; OKLCH L 76.7% C 0.130 H 294.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B9A2FD |
|---|---|
| RGB | rgb(185, 162, 253) |
| HSL | hsl(255, 96%, 81%) |
| HSV | hsv(255, 36%, 99%) |
| CMYK | cmyk(26.9%, 36%, 0%, 0.8%) |
| CIE-LAB | lab(71.72, 27.27, -42.24) |
| CIE-LCH | lch(71.72, 50.28, 302.84°) |
| OKLab | oklab(76.69% 0.0543 -0.1176) |
| OKLCH | oklch(76.69% 0.13 294.8) |
| XYZ | xyz(50.6533, 43.2462, 98.5881) |
| Luminance | 0.4325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 3.87
Lilac (survey)
#CEA2FD
ΔE00 4.71
Baby Purple
#CA9BF7
ΔE00 5.06
Lavender (survey)
#C79FEF
ΔE00 5.09
Pale Violet
#CEAEFA
ΔE00 5.47
Lavender
#B39DDB
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9A2FD #E6FDA2
analogous
#A2B9FD #B9A2FD #E7A2FD
triadic
#B9A2FD #FDB9A2 #A2FDB9
tetradic
#B9A2FD #FDA2B9 #E6FDA2 #A2FDE7
square
#B9A2FD #FDA2B9 #E6FDA2 #A2FDE7
split-complementary
#B9A2FD #FDE7A2 #B9FDA2
monochromatic
#5F2AFA #8C66FC #B9A2FD #E6DEFE #E8E1FE
Accessibility & contrast
On white
2.18
#B9A2FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#B9A2FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9A2FD
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9A2FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9A2FD | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#8DAEFB
Tritanopia (blue-blind)
#ABB2C4
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b9a2fd; /* rgb */ color: rgb(185, 162, 253); /* oklch */ color: oklch(76.7% 0.130 294.8);
Tailwind
colors: {
custom: {
50: '#d0bdfe',
500: '#b9a2fd',
950: '#000000',
},
}SCSS
$custom: #b9a2fd; $custom-light: #d0bdfe; $custom-dark: #000000;
JSON
{
"hex": "#b9a2fd",
"rgb": {
"r": 185,
"g": 162,
"b": 253
},
"hsl": {
"h": 255.165,
"s": 95.789,
"l": 81.373
},
"oklch": {
"l": 0.76693,
"c": 0.12952,
"h": 294.8
},
"luminance": 0.43247
}Semantic roles & 50–950 ramp
primary
#B9A2FD
secondary
#EEF7D4
accent
#E600AB
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141218
muted
#828186