#B99DCD#B99DCD
#B99DCD is a light, moderate violet. Relative luminance 0.388; OKLCH L 73.7% C 0.074 H 310.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B99DCD |
|---|---|
| RGB | rgb(185, 157, 205) |
| HSL | hsl(275, 32%, 71%) |
| HSV | hsv(275, 23%, 80%) |
| CMYK | cmyk(9.8%, 23.4%, 0%, 19.6%) |
| CIE-LAB | lab(68.63, 19.29, -20.71) |
| CIE-LCH | lch(68.63, 28.30, 312.95°) |
| OKLab | oklab(73.71% 0.0488 -0.0563) |
| OKLCH | oklch(73.71% 0.074 310.9) |
| XYZ | xyz(43.0821, 38.8364, 62.9723) |
| Luminance | 0.3884 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 4.40
Lilac
#C8A2C8
ΔE00 4.79
Pale Purple
#B790D4
ΔE00 5.28
Lavender (survey)
#C79FEF
ΔE00 7.11
Plum
#DDA0DD
ΔE00 7.52
Heather
#A484AC
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99DCD #B1CD9D
analogous
#A19DCD #B99DCD #CD9DC9
triadic
#B99DCD #CDB99D #9DCDB9
tetradic
#B99DCD #CDA19D #B1CD9D #9DC9CD
square
#B99DCD #CDA19D #B1CD9D #9DC9CD
split-complementary
#B99DCD #C9CD9D #9DCDA1
monochromatic
#7E519F #9C74B8 #B99DCD #D6C6E2 #F1EBF5
Accessibility & contrast
On white
2.40
#B99DCD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#B99DCD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99DCD
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99DCD | 1.00 | 2.40 | 8.77 | 8.77 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96A6CF
Deuteranopia (green-blind)
#9BA8CB
Tritanopia (blue-blind)
#B7A3AE
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b99dcd; /* rgb */ color: rgb(185, 157, 205); /* oklch */ color: oklch(73.7% 0.074 310.9);
Tailwind
colors: {
custom: {
50: '#cebadc',
500: '#b99dcd',
950: '#000000',
},
}SCSS
$custom: #b99dcd; $custom-light: #cebadc; $custom-dark: #000000;
JSON
{
"hex": "#b99dcd",
"rgb": {
"r": 185,
"g": 157,
"b": 205
},
"hsl": {
"h": 275,
"s": 32.432,
"l": 70.98
},
"oklch": {
"l": 0.73706,
"c": 0.07449,
"h": 310.9
},
"luminance": 0.38836
}Semantic roles & 50–950 ramp
primary
#B99DCD
secondary
#E2E9DD
accent
#AB3A69
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083