#B99BFA#B99BFA
#B99BFA is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.3% C 0.136 H 297.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B99BFA |
|---|---|
| RGB | rgb(185, 155, 250) |
| HSL | hsl(259, 90%, 79%) |
| HSV | hsv(259, 38%, 98%) |
| CMYK | cmyk(26%, 38%, 0%, 2%) |
| CIE-LAB | lab(69.94, 30.45, -43.41) |
| CIE-LCH | lch(69.94, 53.02, 305.05°) |
| OKLab | oklab(75.29% 0.0632 -0.1209) |
| OKLCH | oklch(75.29% 0.136 297.6) |
| XYZ | xyz(48.9802, 40.6587, 95.6914) |
| Luminance | 0.4066 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 3.33
Baby Purple
#CA9BF7
ΔE00 3.99
Lilac (survey)
#CEA2FD
ΔE00 4.34
Liliac
#C48EFD
ΔE00 4.51
Lavender (survey)
#C79FEF
ΔE00 4.55
Lavender
#B39DDB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99BFA #DCFA9B
analogous
#9BADFA #B99BFA #E89BFA
triadic
#B99BFA #FAB99B #9BFAB9
tetradic
#B99BFA #FA9BAD #DCFA9B #9BFAE8
square
#B99BFA #FA9BAD #DCFA9B #9BFAE8
split-complementary
#B99BFA #FAE89B #ADFA9B
monochromatic
#6726F4 #9061F7 #B99BFA #E2D5FD #EBE2FE
Accessibility & contrast
On white
2.30
#B99BFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#B99BFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99BFA
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99BFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99BFA | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82ABFE
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#ACABBF
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b99bfa; /* rgb */ color: rgb(185, 155, 250); /* oklch */ color: oklch(75.3% 0.136 297.6);
Tailwind
colors: {
custom: {
50: '#d0b8fc',
500: '#b99bfa',
950: '#000000',
},
}SCSS
$custom: #b99bfa; $custom-light: #d0b8fc; $custom-dark: #000000;
JSON
{
"hex": "#b99bfa",
"rgb": {
"r": 185,
"g": 155,
"b": 250
},
"hsl": {
"h": 258.947,
"s": 90.476,
"l": 79.412
},
"oklch": {
"l": 0.7529,
"c": 0.13644,
"h": 297.6
},
"luminance": 0.40659
}Semantic roles & 50–950 ramp
primary
#B99BFA
secondary
#EBF6D5
accent
#E6009D
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085