#EC7EDF#EC7EDF
#EC7EDF is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.7% C 0.178 H 331.7°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7EDF |
|---|---|
| RGB | rgb(236, 126, 223) |
| HSL | hsl(307, 74%, 71%) |
| HSV | hsv(307, 47%, 93%) |
| CMYK | cmyk(0%, 46.6%, 5.5%, 7.5%) |
| CIE-LAB | lab(68.08, 55.16, -31.05) |
| CIE-LCH | lch(68.08, 63.30, 330.62°) |
| OKLab | oklab(74.74% 0.157 -0.0844) |
| OKLCH | oklch(74.74% 0.178 331.7) |
| XYZ | xyz(55.3718, 38.0856, 74.2324) |
| Luminance | 0.3808 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.22
Violet (CSS)
#EE82EE
ΔE00 2.54
Lavender Pink
#DD85D7
ΔE00 2.90
Orchid
#DA70D6
ΔE00 4.53
Candy Pink
#FF63E9
ΔE00 4.92
Light Magenta
#FA5FF7
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7EDF #7EEC8B
analogous
#C27EEC #EC7EDF #EC7EA8
triadic
#EC7EDF #DFEC7E #7EDFEC
tetradic
#EC7EDF #ECC27E #7EEC8B #7EA8EC
square
#EC7EDF #ECC27E #7EEC8B #7EA8EC
split-complementary
#EC7EDF #A8EC7E #7EECC2
monochromatic
#D11FBC #E449D2 #EC7EDF #F4B3EC #FBE4F8
Accessibility & contrast
On white
2.44
#EC7EDF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.62
#EC7EDF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7EDF
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7EDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7EDF | 1.00 | 2.44 | 8.62 | 8.62 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A9CE2
Deuteranopia (green-blind)
#99ACDC
Tritanopia (blue-blind)
#F486A4
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #ec7edf; /* rgb */ color: rgb(236, 126, 223); /* oklch */ color: oklch(74.7% 0.178 331.7);
Tailwind
colors: {
custom: {
50: '#f4a7e9',
500: '#ec7edf',
950: '#000000',
},
}SCSS
$custom: #ec7edf; $custom-light: #f4a7e9; $custom-dark: #000000;
JSON
{
"hex": "#ec7edf",
"rgb": {
"r": 236,
"g": 126,
"b": 223
},
"hsl": {
"h": 307.091,
"s": 74.324,
"l": 70.98
},
"oklch": {
"l": 0.74738,
"c": 0.17825,
"h": 331.7
},
"luminance": 0.38082
}Semantic roles & 50–950 ramp
primary
#EC7EDF
secondary
#D4F2D8
accent
#D6270F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84