#EC74FF#EC74FF
#EC74FF is a light, highly saturated purple. Relative luminance 0.375; OKLCH L 74.9% C 0.222 H 322.0°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #EC74FF |
|---|---|
| RGB | rgb(236, 116, 255) |
| HSL | hsl(292, 100%, 73%) |
| HSV | hsv(292, 55%, 100%) |
| CMYK | cmyk(7.5%, 54.5%, 0%, 0%) |
| CIE-LAB | lab(67.69, 65.53, -49.30) |
| CIE-LCH | lch(67.69, 82.01, 323.05°) |
| OKLab | oklab(74.9% 0.1749 -0.1367) |
| OKLCH | oklch(74.9% 0.222 322) |
| XYZ | xyz(58.8855, 37.5464, 98.7338) |
| Luminance | 0.3754 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 3.47
Light Magenta
#FA5FF7
ΔE00 3.73
Violet (CSS)
#EE82EE
ΔE00 4.34
Purply Pink
#F075E6
ΔE00 4.45
Candy Pink
#FF63E9
ΔE00 5.43
Orchid
#DA70D6
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC74FF #87FF74
analogous
#A774FF #EC74FF #FF74CC
triadic
#EC74FF #FFEC74 #74FFEC
tetradic
#EC74FF #FFA774 #87FF74 #74CCFF
square
#EC74FF #FFA774 #87FF74 #74CCFF
split-complementary
#EC74FF #CCFF74 #74FFA7
monochromatic
#D700F9 #E437FF #EC74FF #F4B1FF #FBE0FF
Accessibility & contrast
On white
2.47
#EC74FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.51
#EC74FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC74FF
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC74FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC74FF | 1.00 | 2.47 | 8.51 | 8.51 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#84AAFB
Tritanopia (blue-blind)
#EF88AF
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #ec74ff; /* rgb */ color: rgb(236, 116, 255); /* oklch */ color: oklch(74.9% 0.222 322.0);
Tailwind
colors: {
custom: {
50: '#f5a1ff',
500: '#ec74ff',
950: '#000000',
},
}SCSS
$custom: #ec74ff; $custom-light: #f5a1ff; $custom-dark: #000000;
JSON
{
"hex": "#ec74ff",
"rgb": {
"r": 236,
"g": 116,
"b": 255
},
"hsl": {
"h": 291.799,
"s": 100,
"l": 72.745
},
"oklch": {
"l": 0.74901,
"c": 0.222,
"h": 322
},
"luminance": 0.37544
}Semantic roles & 50–950 ramp
primary
#EC74FF
secondary
#D9F7D4
accent
#E6001F
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F18
muted
#857F86