#CDB2DB#CDB2DB
#CDB2DB is a light, moderate violet. Relative luminance 0.499; OKLCH L 80.0% C 0.064 H 314.1°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB2DB |
|---|---|
| RGB | rgb(205, 178, 219) |
| HSL | hsl(280, 36%, 78%) |
| HSV | hsv(280, 19%, 86%) |
| CMYK | cmyk(6.4%, 18.7%, 0%, 14.1%) |
| CIE-LAB | lab(76.03, 17.13, -17.01) |
| CIE-LCH | lch(76.03, 24.15, 315.20°) |
| OKLab | oklab(79.99% 0.0445 -0.0459) |
| OKLCH | oklch(79.99% 0.064 314.1) |
| XYZ | xyz(53.8814, 49.9349, 73.8040) |
| Luminance | 0.4993 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 4.91
Thistle
#D8BFD8
ΔE00 5.67
Light Lavender
#DFC5FE
ΔE00 6.56
Pale Lilac
#E4CBFF
ΔE00 6.99
Light Lilac
#EDC8FF
ΔE00 7.21
Light Violet
#D6B4FC
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB2DB #C0DBB2
analogous
#B8B2DB #CDB2DB #DBB2D4
triadic
#CDB2DB #DBCDB2 #B2DBCD
tetradic
#CDB2DB #DBB8B2 #C0DBB2 #B2D4DB
square
#CDB2DB #DBB8B2 #C0DBB2 #B2D4DB
split-complementary
#CDB2DB #D4DBB2 #B2DBB8
monochromatic
#975FB4 #B288C8 #CDB2DB #E8DCEE #F1EAF5
Accessibility & contrast
On white
1.91
#CDB2DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.99
#CDB2DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB2DB
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB2DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB2DB | 1.00 | 1.91 | 10.99 | 10.99 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ADBADD
Deuteranopia (green-blind)
#B2BCDA
Tritanopia (blue-blind)
#CCB7C0
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #cdb2db; /* rgb */ color: rgb(205, 178, 219); /* oklch */ color: oklch(80.0% 0.064 314.1);
Tailwind
colors: {
custom: {
50: '#dcc9e6',
500: '#cdb2db',
950: '#000000',
},
}SCSS
$custom: #cdb2db; $custom-light: #dcc9e6; $custom-dark: #000000;
JSON
{
"hex": "#cdb2db",
"rgb": {
"r": 205,
"g": 178,
"b": 219
},
"hsl": {
"h": 279.512,
"s": 36.283,
"l": 77.843
},
"oklch": {
"l": 0.79994,
"c": 0.06397,
"h": 314.1
},
"luminance": 0.49934
}Semantic roles & 50–950 ramp
primary
#CDB2DB
secondary
#E3ECDF
accent
#AF3660
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151315
muted
#838284