#CDB2FF#CDB2FF
#CDB2FF is a light, moderate violet. Relative luminance 0.520; OKLCH L 81.4% C 0.110 H 300.1°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB2FF |
|---|---|
| RGB | rgb(205, 178, 255) |
| HSL | hsl(261, 100%, 85%) |
| HSV | hsv(261, 30%, 100%) |
| CMYK | cmyk(19.6%, 30.2%, 0%, 0%) |
| CIE-LAB | lab(77.30, 24.69, -34.51) |
| CIE-LCH | lch(77.30, 42.44, 305.58°) |
| OKLab | oklab(81.4% 0.0551 -0.0951) |
| OKLCH | oklch(81.4% 0.11 300.1) |
| XYZ | xyz(59.1434, 52.0397, 101.5172) |
| Luminance | 0.5204 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.48
Light Violet
#D6B4FC
ΔE00 2.45
Lilac (survey)
#CEA2FD
ΔE00 4.48
Mauve
#E0B0FF
ΔE00 4.53
Pastel Purple
#CAA0FF
ΔE00 4.91
Lavender (survey)
#C79FEF
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB2FF #E4FFB2
analogous
#B2BEFF #CDB2FF #F4B2FF
triadic
#CDB2FF #FFCDB2 #B2FFCD
tetradic
#CDB2FF #FFB2BE #E4FFB2 #B2FFF4
square
#CDB2FF #FFB2BE #E4FFB2 #B2FFF4
split-complementary
#CDB2FF #FFF4B2 #BEFFB2
monochromatic
#7E38FF #A575FF #CDB2FF #EBE0FF #EBE0FF
Accessibility & contrast
On white
1.84
#CDB2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.41
#CDB2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB2FF
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB2FF | 1.00 | 1.84 | 11.41 | 11.41 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A1BFFF
Deuteranopia (green-blind)
#A6BEFD
Tritanopia (blue-blind)
#C4BECE
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdb2ff; /* rgb */ color: rgb(205, 178, 255); /* oklch */ color: oklch(81.4% 0.110 300.1);
Tailwind
colors: {
custom: {
50: '#ddc9ff',
500: '#cdb2ff',
950: '#000000',
},
}SCSS
$custom: #cdb2ff; $custom-light: #ddc9ff; $custom-dark: #000000;
JSON
{
"hex": "#cdb2ff",
"rgb": {
"r": 205,
"g": 178,
"b": 255
},
"hsl": {
"h": 261.039,
"s": 100,
"l": 84.902
},
"oklch": {
"l": 0.81397,
"c": 0.10993,
"h": 300.1
},
"luminance": 0.5204
}Semantic roles & 50–950 ramp
primary
#CDB2FF
secondary
#BCE670
accent
#E60095
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286