#CD2CB9#CD2CB9
#CD2CB9 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.9% C 0.239 H 334.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CD2CB9 |
|---|---|
| RGB | rgb(205, 44, 185) |
| HSL | hsl(307, 65%, 49%) |
| HSV | hsv(307, 79%, 80%) |
| CMYK | cmyk(0%, 78.5%, 9.8%, 19.6%) |
| CIE-LAB | lab(49.84, 74.02, -38.25) |
| CIE-LCH | lch(49.84, 83.32, 332.67°) |
| OKLab | oklab(59.94% 0.215 -0.1049) |
| OKLCH | oklch(59.94% 0.239 334) |
| XYZ | xyz(34.8348, 18.2864, 47.5845) |
| Luminance | 0.1828 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.66
Pinky Purple
#C94CBE
ΔE00 4.35
Purple Pink
#D725DE
ΔE00 5.62
Fuchsia (survey)
#ED0DD9
ΔE00 6.47
Pinkish Purple
#D648D7
ΔE00 6.65
Hot Magenta
#F504C9
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD2CB9 #2CCD40
analogous
#912CCD #CD2CB9 #CD2C69
triadic
#CD2CB9 #B9CD2C #2CB9CD
tetradic
#CD2CB9 #CD912C #2CCD40 #2C69CD
square
#CD2CB9 #CD912C #2CCD40 #2C69CD
split-complementary
#CD2CB9 #69CD2C #2CCD91
monochromatic
#68165E #9B218C #CD2CB9 #DC5BCC #E78DDB
Accessibility & contrast
On white
4.51
#CD2CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#CD2CB9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD2CB9
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD2CB9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD2CB9 | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 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)
#2768BD
Deuteranopia (green-blind)
#677FB5
Tritanopia (blue-blind)
#D73D72
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cd2cb9; /* rgb */ color: rgb(205, 44, 185); /* oklch */ color: oklch(59.9% 0.239 334.0);
Tailwind
colors: {
custom: {
50: '#e178ce',
500: '#cd2cb9',
950: '#000000',
},
}SCSS
$custom: #cd2cb9; $custom-light: #e178ce; $custom-dark: #000000;
JSON
{
"hex": "#cd2cb9",
"rgb": {
"r": 205,
"g": 44,
"b": 185
},
"hsl": {
"h": 307.453,
"s": 64.659,
"l": 48.824
},
"oklch": {
"l": 0.59944,
"c": 0.23923,
"h": 334
},
"luminance": 0.18283
}Semantic roles & 50–950 ramp
primary
#CD2CB9
secondary
#84D18E
accent
#E85540
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A14
muted
#847C82