#EC74F6#EC74F6
#EC74F6 is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.5% C 0.214 H 324.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #EC74F6 |
|---|---|
| RGB | rgb(236, 116, 246) |
| HSL | hsl(295, 88%, 71%) |
| HSV | hsv(295, 53%, 96%) |
| CMYK | cmyk(4.1%, 52.8%, 0%, 3.5%) |
| CIE-LAB | lab(67.26, 63.91, -45.03) |
| CIE-LCH | lch(67.26, 78.18, 324.84°) |
| OKLab | oklab(74.45% 0.1741 -0.1243) |
| OKLCH | oklch(74.45% 0.214 324.5) |
| XYZ | xyz(57.4706, 36.9804, 91.2817) |
| Luminance | 0.3698 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 3.08
Light Magenta
#FA5FF7
ΔE00 3.31
Violet Pink
#FB5FFC
ΔE00 3.31
Violet (CSS)
#EE82EE
ΔE00 3.39
Candy Pink
#FF63E9
ΔE00 4.42
Orchid
#DA70D6
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC74F6 #7EF674
analogous
#AB74F6 #EC74F6 #F674BF
triadic
#EC74F6 #F6EC74 #74F6EC
tetradic
#EC74F6 #F6AB74 #7EF674 #74BFF6
square
#EC74F6 #F6AB74 #7EF674 #74BFF6
split-complementary
#EC74F6 #BFF674 #74F6AB
monochromatic
#D10FE1 #E43BF2 #EC74F6 #F4ADFA #FBE2FD
Accessibility & contrast
On white
2.50
#EC74F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#EC74F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC74F6
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC74F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC74F6 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629AFA
Deuteranopia (green-blind)
#89A9F2
Tritanopia (blue-blind)
#F085AB
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #ec74f6; /* rgb */ color: rgb(236, 116, 246); /* oklch */ color: oklch(74.5% 0.214 324.5);
Tailwind
colors: {
custom: {
50: '#f5a1f9',
500: '#ec74f6',
950: '#000000',
},
}SCSS
$custom: #ec74f6; $custom-light: #f5a1f9; $custom-dark: #000000;
JSON
{
"hex": "#ec74f6",
"rgb": {
"r": 236,
"g": 116,
"b": 246
},
"hsl": {
"h": 295.385,
"s": 87.838,
"l": 70.98
},
"oklch": {
"l": 0.74453,
"c": 0.2139,
"h": 324.5
},
"luminance": 0.36977
}Semantic roles & 50–950 ramp
primary
#EC74F6
secondary
#D4F4D2
accent
#E40113
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85