#CDB2FB#CDB2FB
#CDB2FB is a light, moderate violet. Relative luminance 0.518; OKLCH L 81.2% C 0.105 H 301.1°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB2FB |
|---|---|
| RGB | rgb(205, 178, 251) |
| HSL | hsl(262, 90%, 84%) |
| HSV | hsv(262, 29%, 98%) |
| CMYK | cmyk(18.3%, 29.1%, 0%, 1.6%) |
| CIE-LAB | lab(77.15, 23.81, -32.60) |
| CIE-LCH | lch(77.15, 40.37, 306.14°) |
| OKLab | oklab(81.23% 0.054 -0.0897) |
| OKLCH | oklch(81.23% 0.105 301.1) |
| XYZ | xyz(58.5062, 51.7849, 98.1613) |
| Luminance | 0.5179 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 1.25
Light Violet
#D6B4FC
ΔE00 1.96
Mauve
#E0B0FF
ΔE00 4.32
Lilac (survey)
#CEA2FD
ΔE00 4.71
Lavender (survey)
#C79FEF
ΔE00 4.89
Pastel Purple
#CAA0FF
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB2FB #E0FBB2
analogous
#B2BCFB #CDB2FB #F2B2FB
triadic
#CDB2FB #FBCDB2 #B2FBCD
tetradic
#CDB2FB #FBB2BC #E0FBB2 #B2FBF2
square
#CDB2FB #FBB2BC #E0FBB2 #B2FBF2
split-complementary
#CDB2FB #FBF2B2 #BCFBB2
monochromatic
#813EF5 #A778F8 #CDB2FB #ECE2FD #ECE2FD
Accessibility & contrast
On white
1.85
#CDB2FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.36
#CDB2FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB2FB
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB2FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB2FB | 1.00 | 1.85 | 11.36 | 11.36 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3BEFE
Deuteranopia (green-blind)
#A7BEF9
Tritanopia (blue-blind)
#C5BDCC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #cdb2fb; /* rgb */ color: rgb(205, 178, 251); /* oklch */ color: oklch(81.2% 0.105 301.1);
Tailwind
colors: {
custom: {
50: '#ddc9fd',
500: '#cdb2fb',
950: '#000000',
},
}SCSS
$custom: #cdb2fb; $custom-light: #ddc9fd; $custom-dark: #000000;
JSON
{
"hex": "#cdb2fb",
"rgb": {
"r": 205,
"g": 178,
"b": 251
},
"hsl": {
"h": 262.192,
"s": 90.123,
"l": 84.118
},
"oklch": {
"l": 0.8123,
"c": 0.1047,
"h": 301.1
},
"luminance": 0.51785
}Semantic roles & 50–950 ramp
primary
#CDB2FB
secondary
#B7DF72
accent
#E60091
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285