#CD4FE2#CD4FE2
#CD4FE2 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.2% C 0.233 H 321.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CD4FE2 |
|---|---|
| RGB | rgb(205, 79, 226) |
| HSL | hsl(291, 72%, 60%) |
| HSV | hsv(291, 65%, 89%) |
| CMYK | cmyk(9.3%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(56.15, 68.92, -51.75) |
| CIE-LCH | lch(56.15, 86.19, 323.10°) |
| OKLab | oklab(65.18% 0.1825 -0.1443) |
| OKLCH | oklch(65.18% 0.233 321.7) |
| XYZ | xyz(41.6988, 24.0643, 74.3852) |
| Luminance | 0.2406 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 2.64
Heliotrope
#D94FF5
ΔE00 3.07
Mediumorchid
#BA55D3
ΔE00 3.45
Purple Pink
#D725DE
ΔE00 4.51
Bright Lilac
#C95EFB
ΔE00 4.71
Pink Purple
#EF1DE7
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD4FE2 #64E24F
analogous
#844FE2 #CD4FE2 #E24FAD
triadic
#CD4FE2 #E2CD4F #4FE2CD
tetradic
#CD4FE2 #E2844F #64E24F #4FADE2
square
#CD4FE2 #E2844F #64E24F #4FADE2
split-complementary
#CD4FE2 #ADE24F #4FE284
monochromatic
#8A1A9D #B822D1 #CD4FE2 #DC84EB #EBB8F3
Accessibility & contrast
On white
3.61
#CD4FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#CD4FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD4FE2
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD4FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD4FE2 | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#267DE6
Deuteranopia (green-blind)
#608BDE
Tritanopia (blue-blind)
#CF6892
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #cd4fe2; /* rgb */ color: rgb(205, 79, 226); /* oklch */ color: oklch(65.2% 0.233 321.7);
Tailwind
colors: {
custom: {
50: '#e089ec',
500: '#cd4fe2',
950: '#000000',
},
}SCSS
$custom: #cd4fe2; $custom-light: #e089ec; $custom-dark: #000000;
JSON
{
"hex": "#cd4fe2",
"rgb": {
"r": 205,
"g": 79,
"b": 226
},
"hsl": {
"h": 291.429,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.65177,
"c": 0.23262,
"h": 321.7
},
"luminance": 0.24062
}Semantic roles & 50–950 ramp
primary
#CD4FE2
secondary
#B2E3AA
accent
#EE3953
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84