#CDB6EF#CDB6EF
#CDB6EF is a light, moderate violet. Relative luminance 0.527; OKLCH L 81.5% C 0.083 H 303.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB6EF |
|---|---|
| RGB | rgb(205, 182, 239) |
| HSL | hsl(264, 64%, 83%) |
| HSV | hsv(264, 24%, 94%) |
| CMYK | cmyk(14.2%, 23.8%, 0%, 6.3%) |
| CIE-LAB | lab(77.68, 19.05, -25.33) |
| CIE-LCH | lch(77.68, 31.69, 306.94°) |
| OKLab | oklab(81.49% 0.045 -0.0692) |
| OKLCH | oklch(81.49% 0.083 303) |
| XYZ | xyz(57.4817, 52.6671, 88.7821) |
| Luminance | 0.5267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 3.38
Light Lavender
#DFC5FE
ΔE00 3.96
Pale Violet
#CEAEFA
ΔE00 4.10
Pale Lilac
#E4CBFF
ΔE00 5.41
Mauve
#E0B0FF
ΔE00 5.68
Light Lilac
#EDC8FF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB6EF #D8EFB6
analogous
#B6BBEF #CDB6EF #EAB6EF
triadic
#CDB6EF #EFCDB6 #B6EFCD
tetradic
#CDB6EF #EFB6BB #D8EFB6 #B6EFEA
square
#CDB6EF #EFB6BB #D8EFB6 #B6EFEA
split-complementary
#CDB6EF #EFEAB6 #BBEFB6
monochromatic
#8852D9 #AB84E4 #CDB6EF #EEE6F9 #EEE6F9
Accessibility & contrast
On white
1.82
#CDB6EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#CDB6EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB6EF
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB6EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB6EF | 1.00 | 1.82 | 11.53 | 11.53 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ABBFF1
Deuteranopia (green-blind)
#AFC0ED
Tritanopia (blue-blind)
#C8BECA
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdb6ef; /* rgb */ color: rgb(205, 182, 239); /* oklch */ color: oklch(81.5% 0.083 303.0);
Tailwind
colors: {
custom: {
50: '#dcccf4',
500: '#cdb6ef',
950: '#000000',
},
}SCSS
$custom: #cdb6ef; $custom-light: #dcccf4; $custom-dark: #000000;
JSON
{
"hex": "#cdb6ef",
"rgb": {
"r": 205,
"g": 182,
"b": 239
},
"hsl": {
"h": 264.211,
"s": 64.045,
"l": 82.549
},
"oklch": {
"l": 0.8149,
"c": 0.0825,
"h": 303
},
"luminance": 0.52667
}Semantic roles & 50–950 ramp
primary
#CDB6EF
secondary
#ACCD7C
accent
#CC1A84
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385