#B299DB#B299DB
#B299DB is a light, moderate violet. Relative luminance 0.374; OKLCH L 72.9% C 0.097 H 301.4°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B299DB |
|---|---|
| RGB | rgb(178, 153, 219) |
| HSL | hsl(263, 48%, 73%) |
| HSV | hsv(263, 30%, 86%) |
| CMYK | cmyk(18.7%, 30.1%, 0%, 14.1%) |
| CIE-LAB | lab(67.55, 22.33, -30.17) |
| CIE-LCH | lch(67.55, 37.54, 306.50°) |
| OKLab | oklab(72.89% 0.0507 -0.0831) |
| OKLCH | oklch(72.89% 0.097 301.4) |
| XYZ | xyz(42.5348, 37.3619, 71.9748) |
| Luminance | 0.3736 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 1.28
Pale Purple
#B790D4
ΔE00 3.56
Lavender (survey)
#C79FEF
ΔE00 4.59
Baby Purple
#CA9BF7
ΔE00 5.98
Pastel Purple
#CAA0FF
ΔE00 6.57
Lilac (survey)
#CEA2FD
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B299DB #C2DB99
analogous
#99A1DB #B299DB #D399DB
triadic
#B299DB #DBB299 #99DBB2
tetradic
#B299DB #DB99A1 #C2DB99 #99DBD3
square
#B299DB #DB99A1 #C2DB99 #99DBD3
split-complementary
#B299DB #DBD399 #A1DB99
monochromatic
#6E41B8 #906CCB #B299DB #D4C6EB #EEE8F7
Accessibility & contrast
On white
2.48
#B299DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#B299DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B299DB
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B299DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B299DB | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8BA4DE
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#ABA3B1
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b299db; /* rgb */ color: rgb(178, 153, 219); /* oklch */ color: oklch(72.9% 0.097 301.4);
Tailwind
colors: {
custom: {
50: '#cab7e6',
500: '#b299db',
950: '#000000',
},
}SCSS
$custom: #b299db; $custom-light: #cab7e6; $custom-dark: #000000;
JSON
{
"hex": "#b299db",
"rgb": {
"r": 178,
"g": 153,
"b": 219
},
"hsl": {
"h": 262.727,
"s": 47.826,
"l": 72.941
},
"oklch": {
"l": 0.72894,
"c": 0.09734,
"h": 301.4
},
"luminance": 0.37362
}Semantic roles & 50–950 ramp
primary
#B299DB
secondary
#E8EEDD
accent
#BB2A84
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084