#EC42FD#EC42FD
#EC42FD is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 69.8% C 0.282 H 324.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #EC42FD |
|---|---|
| RGB | rgb(236, 66, 253) |
| HSL | hsl(295, 98%, 63%) |
| HSV | hsv(295, 74%, 99%) |
| CMYK | cmyk(6.7%, 73.9%, 0%, 0.8%) |
| CIE-LAB | lab(60.63, 84.51, -59.41) |
| CIE-LCH | lch(60.63, 103.30, 324.90°) |
| OKLab | oklab(69.77% 0.2277 -0.1657) |
| OKLCH | oklch(69.77% 0.282 324) |
| XYZ | xyz(54.2684, 28.8245, 95.6148) |
| Luminance | 0.2882 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.73
Magenta
#FF00FF
ΔE00 2.98
Fuchsia
#FF00FF
ΔE00 2.98
Pink Purple
#EF1DE7
ΔE00 4.33
Bright Magenta
#FF08E8
ΔE00 4.79
Violet Pink
#FB5FFC
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC42FD #53FD42
analogous
#8E42FD #EC42FD #FD42B1
triadic
#EC42FD #FDEC42 #42FDEC
tetradic
#EC42FD #FD8E42 #53FD42 #42B1FD
square
#EC42FD #FD8E42 #53FD42 #42B1FD
split-complementary
#EC42FD #B1FD42 #42FD8E
monochromatic
#B102C3 #E605FC #EC42FD #F27FFE #F8BBFE
Accessibility & contrast
On white
3.10
#EC42FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.76
#EC42FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EC42FD
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC42FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC42FD | 1.00 | 3.10 | 6.76 | 6.76 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#F0659E
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #ec42fd; /* rgb */ color: rgb(236, 66, 253); /* oklch */ color: oklch(69.8% 0.282 324.0);
Tailwind
colors: {
custom: {
50: '#f787ff',
500: '#ec42fd',
950: '#000000',
},
}SCSS
$custom: #ec42fd; $custom-light: #f787ff; $custom-dark: #000000;
JSON
{
"hex": "#ec42fd",
"rgb": {
"r": 236,
"g": 66,
"b": 253
},
"hsl": {
"h": 294.545,
"s": 97.906,
"l": 62.549
},
"oklch": {
"l": 0.69767,
"c": 0.28165,
"h": 324
},
"luminance": 0.28821
}Semantic roles & 50–950 ramp
primary
#EC42FD
secondary
#B2EFAB
accent
#E60015
background
#FFF9FF
surface
#FFF1FF
border
#D7CBD7
text
#180D18
muted
#867E86