#CD4EF4#CD4EF4
#CD4EF4 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.1% C 0.249 H 317.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CD4EF4 |
|---|---|
| RGB | rgb(205, 78, 244) |
| HSL | hsl(286, 88%, 63%) |
| HSV | hsv(286, 68%, 96%) |
| CMYK | cmyk(16%, 68%, 0%, 4.3%) |
| CIE-LAB | lab(57.04, 72.64, -60.41) |
| CIE-LCH | lch(57.04, 94.48, 320.25°) |
| OKLab | oklab(66.14% 0.1829 -0.1696) |
| OKLCH | oklch(66.14% 0.249 317.2) |
| XYZ | xyz(44.2280, 24.9614, 88.0587) |
| Luminance | 0.2496 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.20
Bright Lilac
#C95EFB
ΔE00 2.87
Bright Lavender
#C760FF
ΔE00 3.52
Pinkish Purple
#D648D7
ΔE00 5.02
Mediumorchid
#BA55D3
ΔE00 5.09
Purple Pink
#D725DE
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD4EF4 #75F44E
analogous
#7A4EF4 #CD4EF4 #F44EC8
triadic
#CD4EF4 #F4CD4E #4EF4CD
tetradic
#CD4EF4 #F47A4E #75F44E #4EC8F4
square
#CD4EF4 #F47A4E #75F44E #4EC8F4
split-complementary
#CD4EF4 #C8F44E #4EF47A
monochromatic
#930CBC #BD14F0 #CD4EF4 #DD88F8 #EEC1FB
Accessibility & contrast
On white
3.50
#CD4EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#CD4EF4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD4EF4
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD4EF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD4EF4 | 1.00 | 3.50 | 5.99 | 5.99 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#528DF0
Tritanopia (blue-blind)
#CB6E9C
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #cd4ef4; /* rgb */ color: rgb(205, 78, 244); /* oklch */ color: oklch(66.1% 0.249 317.2);
Tailwind
colors: {
custom: {
50: '#e089f8',
500: '#cd4ef4',
950: '#000000',
},
}SCSS
$custom: #cd4ef4; $custom-light: #e089f8; $custom-dark: #000000;
JSON
{
"hex": "#cd4ef4",
"rgb": {
"r": 205,
"g": 78,
"b": 244
},
"hsl": {
"h": 285.904,
"s": 88.298,
"l": 63.137
},
"oklch": {
"l": 0.66143,
"c": 0.24945,
"h": 317.2
},
"luminance": 0.2496
}Semantic roles & 50–950 ramp
primary
#CD4EF4
secondary
#BFEDB1
accent
#E50136
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85