#EC7FF2#EC7FF2
#EC7FF2 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.7% C 0.193 H 325.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7FF2 |
|---|---|
| RGB | rgb(236, 127, 242) |
| HSL | hsl(297, 82%, 72%) |
| HSV | hsv(297, 48%, 95%) |
| CMYK | cmyk(2.5%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(69.06, 57.97, -40.02) |
| CIE-LCH | lch(69.06, 70.44, 325.38°) |
| OKLab | oklab(75.72% 0.159 -0.11) |
| OKLCH | oklch(75.72% 0.193 325.3) |
| XYZ | xyz(58.2071, 39.4253, 88.5310) |
| Luminance | 0.3942 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.22
Purply Pink
#F075E6
ΔE00 2.72
Lavender Pink
#DD85D7
ΔE00 4.94
Light Magenta
#FA5FF7
ΔE00 5.16
Candy Pink
#FF63E9
ΔE00 5.19
Violet Pink
#FB5FFC
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7FF2 #85F27F
analogous
#B37FF2 #EC7FF2 #F27FBE
triadic
#EC7FF2 #F2EC7F #7FF2EC
tetradic
#EC7FF2 #F2B37F #85F27F #7FBEF2
square
#EC7FF2 #F2B37F #85F27F #7FBEF2
split-complementary
#EC7FF2 #BEF27F #7FF2B3
monochromatic
#D517E0 #E447EC #EC7FF2 #F4B7F8 #FBE3FC
Accessibility & contrast
On white
2.36
#EC7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#EC7FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7FF2
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7FF2 | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#92ADEF
Tritanopia (blue-blind)
#F18CAD
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #ec7ff2; /* rgb */ color: rgb(236, 127, 242); /* oklch */ color: oklch(75.7% 0.193 325.3);
Tailwind
colors: {
custom: {
50: '#f4a8f6',
500: '#ec7ff2',
950: '#000000',
},
}SCSS
$custom: #ec7ff2; $custom-light: #f4a8f6; $custom-dark: #000000;
JSON
{
"hex": "#ec7ff2",
"rgb": {
"r": 236,
"g": 127,
"b": 242
},
"hsl": {
"h": 296.87,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.7572,
"c": 0.19335,
"h": 325.3
},
"luminance": 0.39422
}Semantic roles & 50–950 ramp
primary
#EC7FF2
secondary
#D8F4D7
accent
#DE0813
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85