#B99AED#B99AED
#B99AED is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.5% C 0.121 H 300.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #B99AED |
|---|---|
| RGB | rgb(185, 154, 237) |
| HSL | hsl(262, 70%, 77%) |
| HSV | hsv(262, 35%, 93%) |
| CMYK | cmyk(21.9%, 35%, 0%, 7.1%) |
| CIE-LAB | lab(69.14, 27.97, -37.55) |
| CIE-LCH | lch(69.14, 46.83, 306.68°) |
| OKLab | oklab(74.5% 0.0618 -0.1041) |
| OKLCH | oklch(74.5% 0.121 300.7) |
| XYZ | xyz(46.8459, 39.5398, 85.2683) |
| Luminance | 0.3954 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 3.04
Baby Purple
#CA9BF7
ΔE00 3.41
Pastel Purple
#CAA0FF
ΔE00 3.61
Lavender
#B39DDB
ΔE00 4.08
Lilac (survey)
#CEA2FD
ΔE00 4.12
Liliac
#C48EFD
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99AED #CEED9A
analogous
#9AA5ED #B99AED #E39AED
triadic
#B99AED #EDB99A #9AEDB9
tetradic
#B99AED #ED9AA5 #CEED9A #9AEDE3
square
#B99AED #ED9AA5 #CEED9A #9AEDE3
split-complementary
#B99AED #EDE39A #A5ED9A
monochromatic
#7132DA #9566E4 #B99AED #DDCEF6 #EDE5FA
Accessibility & contrast
On white
2.36
#B99AED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#B99AED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99AED
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99AED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99AED | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87A8F0
Deuteranopia (green-blind)
#8CA8EB
Tritanopia (blue-blind)
#B0A7B9
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b99aed; /* rgb */ color: rgb(185, 154, 237); /* oklch */ color: oklch(74.5% 0.121 300.7);
Tailwind
colors: {
custom: {
50: '#cfb8f3',
500: '#b99aed',
950: '#000000',
},
}SCSS
$custom: #b99aed; $custom-light: #cfb8f3; $custom-dark: #000000;
JSON
{
"hex": "#b99aed",
"rgb": {
"r": 185,
"g": 154,
"b": 237
},
"hsl": {
"h": 262.41,
"s": 69.748,
"l": 76.667
},
"oklch": {
"l": 0.74501,
"c": 0.12102,
"h": 300.7
},
"luminance": 0.3954
}Semantic roles & 50–950 ramp
primary
#B99AED
secondary
#E9F2D9
accent
#D2148B
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085