#CD2EB6#CD2EB6
#CD2EB6 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.9% C 0.235 H 334.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CD2EB6 |
|---|---|
| RGB | rgb(205, 46, 182) |
| HSL | hsl(309, 63%, 49%) |
| HSV | hsv(309, 78%, 80%) |
| CMYK | cmyk(0%, 77.6%, 11.2%, 19.6%) |
| CIE-LAB | lab(49.87, 73.06, -36.45) |
| CIE-LCH | lch(49.87, 81.65, 333.49°) |
| OKLab | oklab(59.92% 0.2133 -0.0997) |
| OKLCH | oklch(59.92% 0.235 334.9) |
| XYZ | xyz(34.5978, 18.3137, 45.9597) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.63
Pinky Purple
#C94CBE
ΔE00 4.28
Purple Pink
#D725DE
ΔE00 6.08
Fuchsia (survey)
#ED0DD9
ΔE00 6.68
Hot Magenta
#F504C9
ΔE00 6.85
Pinkish Purple
#D648D7
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD2EB6 #2ECD45
analogous
#952ECD #CD2EB6 #CD2E67
triadic
#CD2EB6 #B6CD2E #2EB6CD
tetradic
#CD2EB6 #CD952E #2ECD45 #2E67CD
square
#CD2EB6 #CD952E #2ECD45 #2E67CD
split-complementary
#CD2EB6 #67CD2E #2ECD95
monochromatic
#69185D #9B238A #CD2EB6 #DB5DC9 #E68FD9
Accessibility & contrast
On white
4.50
#CD2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#CD2EB6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD2EB6
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD2EB6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD2EB6 | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D68BA
Deuteranopia (green-blind)
#697FB2
Tritanopia (blue-blind)
#D73D71
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cd2eb6; /* rgb */ color: rgb(205, 46, 182); /* oklch */ color: oklch(59.9% 0.235 334.9);
Tailwind
colors: {
custom: {
50: '#e179cc',
500: '#cd2eb6',
950: '#000000',
},
}SCSS
$custom: #cd2eb6; $custom-light: #e179cc; $custom-dark: #000000;
JSON
{
"hex": "#cd2eb6",
"rgb": {
"r": 205,
"g": 46,
"b": 182
},
"hsl": {
"h": 308.679,
"s": 63.347,
"l": 49.216
},
"oklch": {
"l": 0.59919,
"c": 0.23546,
"h": 334.9
},
"luminance": 0.18311
}Semantic roles & 50–950 ramp
primary
#CD2EB6
secondary
#86D091
accent
#E65941
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A13
muted
#847C82