#CD37E2#CD37E2
#CD37E2 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 63.0% C 0.259 H 322.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #CD37E2 |
|---|---|
| RGB | rgb(205, 55, 226) |
| HSL | hsl(293, 75%, 55%) |
| HSV | hsv(293, 76%, 89%) |
| CMYK | cmyk(9.3%, 75.7%, 0%, 11.4%) |
| CIE-LAB | lab(53.17, 77.37, -56.50) |
| CIE-LCH | lch(53.17, 95.81, 323.86°) |
| OKLab | oklab(63.05% 0.2053 -0.1581) |
| OKLCH | oklch(63.05% 0.259 322.4) |
| XYZ | xyz(40.2691, 21.2049, 73.9086) |
| Luminance | 0.2120 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple Pink
#D725DE
ΔE00 1.94
Pinkish Purple
#D648D7
ΔE00 4.04
Hot Purple
#CB00F5
ΔE00 4.12
Mediumorchid
#BA55D3
ΔE00 4.42
Pink Purple
#EF1DE7
ΔE00 5.35
Heliotrope
#D94FF5
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD37E2 #4CE237
analogous
#7837E2 #CD37E2 #E237A1
triadic
#CD37E2 #E2CD37 #37E2CD
tetradic
#CD37E2 #E27837 #4CE237 #37A1E2
square
#CD37E2 #E27837 #4CE237 #37A1E2
split-complementary
#CD37E2 #A1E237 #37E278
monochromatic
#7C148B #AC1CC0 #CD37E2 #DA6CEA #E8A2F2
Accessibility & contrast
On white
4.01
#CD37E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#CD37E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD37E2
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD37E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD37E2 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#5285DE
Tritanopia (blue-blind)
#D0598C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cd37e2; /* rgb */ color: rgb(205, 55, 226); /* oklch */ color: oklch(63.0% 0.259 322.4);
Tailwind
colors: {
custom: {
50: '#e17eec',
500: '#cd37e2',
950: '#000000',
},
}SCSS
$custom: #cd37e2; $custom-light: #e17eec; $custom-dark: #000000;
JSON
{
"hex": "#cd37e2",
"rgb": {
"r": 205,
"g": 55,
"b": 226
},
"hsl": {
"h": 292.632,
"s": 74.672,
"l": 55.098
},
"oklch": {
"l": 0.63047,
"c": 0.25908,
"h": 322.4
},
"luminance": 0.21202
}Semantic roles & 50–950 ramp
primary
#CD37E2
secondary
#9FDE97
accent
#F1374D
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#160B16
muted
#847C84