#EC7FF8#EC7FF8
#EC7FF8 is a light, vivid purple. Relative luminance 0.398; OKLCH L 76.0% C 0.199 H 323.5°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7FF8 |
|---|---|
| RGB | rgb(236, 127, 248) |
| HSL | hsl(294, 90%, 74%) |
| HSV | hsv(294, 49%, 97%) |
| CMYK | cmyk(4.8%, 48.8%, 0%, 2.7%) |
| CIE-LAB | lab(69.32, 59.06, -42.90) |
| CIE-LCH | lch(69.32, 72.99, 324.01°) |
| OKLab | oklab(76% 0.1599 -0.1183) |
| OKLCH | oklch(76% 0.199 323.5) |
| XYZ | xyz(59.1231, 39.7917, 93.3550) |
| Luminance | 0.3979 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.12
Purply Pink
#F075E6
ΔE00 3.52
Violet Pink
#FB5FFC
ΔE00 5.07
Light Magenta
#FA5FF7
ΔE00 5.12
Candy Pink
#FF63E9
ΔE00 5.62
Lavender Pink
#DD85D7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7FF8 #8BF87F
analogous
#AF7FF8 #EC7FF8 #F87FC7
triadic
#EC7FF8 #F8EC7F #7FF8EC
tetradic
#EC7FF8 #F8AF7F #8BF87F #7FC7F8
square
#EC7FF8 #F8AF7F #8BF87F #7FC7F8
split-complementary
#EC7FF8 #C7F87F #7FF8AF
monochromatic
#D90DF0 #E345F5 #EC7FF8 #F5B9FB #FBE2FD
Accessibility & contrast
On white
2.34
#EC7FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#EC7FF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7FF8
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7FF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7FF8 | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#8FAEF4
Tritanopia (blue-blind)
#F08EB0
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #ec7ff8; /* rgb */ color: rgb(236, 127, 248); /* oklch */ color: oklch(76.0% 0.199 323.5);
Tailwind
colors: {
custom: {
50: '#f4a8fb',
500: '#ec7ff8',
950: '#000000',
},
}SCSS
$custom: #ec7ff8; $custom-light: #f4a8fb; $custom-dark: #000000;
JSON
{
"hex": "#ec7ff8",
"rgb": {
"r": 236,
"g": 127,
"b": 248
},
"hsl": {
"h": 294.05,
"s": 89.63,
"l": 73.529
},
"oklch": {
"l": 0.76001,
"c": 0.19888,
"h": 323.5
},
"luminance": 0.39789
}Semantic roles & 50–950 ramp
primary
#EC7FF8
secondary
#D9F5D6
accent
#E60017
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85