#EC7FF1#EC7FF1
#EC7FF1 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.7% C 0.192 H 325.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7FF1 |
|---|---|
| RGB | rgb(236, 127, 241) |
| HSL | hsl(297, 80%, 72%) |
| HSV | hsv(297, 47%, 95%) |
| CMYK | cmyk(2.1%, 47.3%, 0%, 5.5%) |
| CIE-LAB | lab(69.02, 57.79, -39.54) |
| CIE-LCH | lch(69.02, 70.02, 325.62°) |
| OKLab | oklab(75.67% 0.1589 -0.1086) |
| OKLCH | oklch(75.67% 0.192 325.6) |
| XYZ | xyz(58.0574, 39.3654, 87.7422) |
| Luminance | 0.3936 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.08
Purply Pink
#F075E6
ΔE00 2.60
Lavender Pink
#DD85D7
ΔE00 4.80
Candy Pink
#FF63E9
ΔE00 5.13
Light Magenta
#FA5FF7
ΔE00 5.19
Violet Pink
#FB5FFC
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7FF1 #84F17F
analogous
#B37FF1 #EC7FF1 #F17FBD
triadic
#EC7FF1 #F1EC7F #7FF1EC
tetradic
#EC7FF1 #F1B37F #84F17F #7FBDF1
square
#EC7FF1 #F1B37F #84F17F #7FBDF1
split-complementary
#EC7FF1 #BDF17F #7FF1B3
monochromatic
#D518DD #E448EB #EC7FF1 #F4B6F7 #FBE3FC
Accessibility & contrast
On white
2.37
#EC7FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#EC7FF1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7FF1
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7FF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7FF1 | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A0F5
Deuteranopia (green-blind)
#93ADEE
Tritanopia (blue-blind)
#F18CAD
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #ec7ff1; /* rgb */ color: rgb(236, 127, 241); /* oklch */ color: oklch(75.7% 0.192 325.6);
Tailwind
colors: {
custom: {
50: '#f4a8f6',
500: '#ec7ff1',
950: '#000000',
},
}SCSS
$custom: #ec7ff1; $custom-light: #f4a8f6; $custom-dark: #000000;
JSON
{
"hex": "#ec7ff1",
"rgb": {
"r": 236,
"g": 127,
"b": 241
},
"hsl": {
"h": 297.368,
"s": 80.282,
"l": 72.157
},
"oklch": {
"l": 0.75674,
"c": 0.19244,
"h": 325.6
},
"luminance": 0.39362
}Semantic roles & 50–950 ramp
primary
#EC7FF1
secondary
#D8F4D7
accent
#DD0912
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85