#CD4EF5#CD4EF5
#CD4EF5 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.2% C 0.250 H 316.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #CD4EF5 |
|---|---|
| RGB | rgb(205, 78, 245) |
| HSL | hsl(286, 89%, 63%) |
| HSV | hsv(286, 68%, 96%) |
| CMYK | cmyk(16.3%, 68.2%, 0%, 3.9%) |
| CIE-LAB | lab(57.10, 72.83, -60.87) |
| CIE-LCH | lch(57.10, 94.92, 320.11°) |
| OKLab | oklab(66.2% 0.1828 -0.171) |
| OKLCH | oklch(66.2% 0.25 316.9) |
| XYZ | xyz(44.3802, 25.0223, 88.8605) |
| Luminance | 0.2502 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.22
Bright Lilac
#C95EFB
ΔE00 2.80
Bright Lavender
#C760FF
ΔE00 3.43
Pinkish Purple
#D648D7
ΔE00 5.15
Mediumorchid
#BA55D3
ΔE00 5.20
Purple Pink
#D725DE
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD4EF5 #76F54E
analogous
#794EF5 #CD4EF5 #F54EC9
triadic
#CD4EF5 #F5CD4E #4EF5CD
tetradic
#CD4EF5 #F5794E #76F54E #4EC9F5
square
#CD4EF5 #F5794E #76F54E #4EC9F5
split-complementary
#CD4EF5 #C9F54E #4EF579
monochromatic
#930BBE #BD14F2 #CD4EF5 #DD88F8 #EEC2FC
Accessibility & contrast
On white
3.50
#CD4EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#CD4EF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD4EF5
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD4EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD4EF5 | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#518DF1
Tritanopia (blue-blind)
#CB6F9C
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #cd4ef5; /* rgb */ color: rgb(205, 78, 245); /* oklch */ color: oklch(66.2% 0.250 316.9);
Tailwind
colors: {
custom: {
50: '#e089f9',
500: '#cd4ef5',
950: '#000000',
},
}SCSS
$custom: #cd4ef5; $custom-light: #e089f9; $custom-dark: #000000;
JSON
{
"hex": "#cd4ef5",
"rgb": {
"r": 205,
"g": 78,
"b": 245
},
"hsl": {
"h": 285.629,
"s": 89.305,
"l": 63.333
},
"oklch": {
"l": 0.66204,
"c": 0.25034,
"h": 316.9
},
"luminance": 0.2502
}Semantic roles & 50–950 ramp
primary
#CD4EF5
secondary
#C0EDB2
accent
#E60037
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85