#CD36B4#CD36B4
#CD36B4 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.226 H 335.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CD36B4 |
|---|---|
| RGB | rgb(205, 54, 180) |
| HSL | hsl(310, 60%, 51%) |
| HSV | hsv(310, 74%, 80%) |
| CMYK | cmyk(0%, 73.7%, 12.2%, 19.6%) |
| CIE-LAB | lab(50.59, 70.45, -34.16) |
| CIE-LCH | lch(50.59, 78.30, 334.13°) |
| OKLab | oklab(60.4% 0.2063 -0.0932) |
| OKLCH | oklch(60.4% 0.226 335.7) |
| XYZ | xyz(34.7347, 18.9159, 44.9929) |
| Luminance | 0.1891 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.42
Pinky Purple
#C94CBE
ΔE00 3.57
Purple Pink
#D725DE
ΔE00 6.42
Hot Magenta
#F504C9
ΔE00 6.53
Pinkish Purple
#D648D7
ΔE00 6.54
Purpleish Pink
#DF4EC8
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD36B4 #36CD4F
analogous
#9A36CD #CD36B4 #CD3668
triadic
#CD36B4 #B4CD36 #36B4CD
tetradic
#CD36B4 #CD9A36 #36CD4F #3668CD
square
#CD36B4 #CD9A36 #36CD4F #3668CD
split-complementary
#CD36B4 #68CD36 #36CD9A
monochromatic
#6D1B60 #9E278B #CD36B4 #D967C6 #E598D9
Accessibility & contrast
On white
4.39
#CD36B4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#CD36B4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD36B4
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD36B4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD36B4 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376AB7
Deuteranopia (green-blind)
#6D80B0
Tritanopia (blue-blind)
#D74272
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cd36b4; /* rgb */ color: rgb(205, 54, 180); /* oklch */ color: oklch(60.4% 0.226 335.7);
Tailwind
colors: {
custom: {
50: '#e07ccb',
500: '#cd36b4',
950: '#000000',
},
}SCSS
$custom: #cd36b4; $custom-light: #e07ccb; $custom-dark: #000000;
JSON
{
"hex": "#cd36b4",
"rgb": {
"r": 205,
"g": 54,
"b": 180
},
"hsl": {
"h": 309.934,
"s": 60.159,
"l": 50.784
},
"oklch": {
"l": 0.60401,
"c": 0.22635,
"h": 335.7
},
"luminance": 0.18913
}Semantic roles & 50–950 ramp
primary
#CD36B4
secondary
#8ED199
accent
#E35F44
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82