#EC7CFB#EC7CFB
#EC7CFB is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 75.7% C 0.206 H 322.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7CFB |
|---|---|
| RGB | rgb(236, 124, 251) |
| HSL | hsl(293, 94%, 74%) |
| HSV | hsv(293, 51%, 98%) |
| CMYK | cmyk(6%, 50.6%, 0%, 1.6%) |
| CIE-LAB | lab(68.91, 61.05, -45.19) |
| CIE-LCH | lch(68.91, 75.95, 323.49°) |
| OKLab | oklab(75.74% 0.1643 -0.1248) |
| OKLCH | oklch(75.74% 0.206 322.8) |
| XYZ | xyz(59.2105, 39.2159, 95.6986) |
| Luminance | 0.3921 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.87
Purply Pink
#F075E6
ΔE00 3.81
Violet Pink
#FB5FFC
ΔE00 4.55
Light Magenta
#FA5FF7
ΔE00 4.67
Candy Pink
#FF63E9
ΔE00 5.57
Orchid
#DA70D6
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7CFB #8BFB7C
analogous
#AC7CFB #EC7CFB #FB7CCA
triadic
#EC7CFB #FBEC7C #7CFBEC
tetradic
#EC7CFB #FBAC7C #8BFB7C #7CCAFB
square
#EC7CFB #FBAC7C #8BFB7C #7CCAFB
split-complementary
#EC7CFB #CAFB7C #7CFBAC
monochromatic
#D907F5 #E341F9 #EC7CFB #F5B7FD #FBE1FE
Accessibility & contrast
On white
2.37
#EC7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#EC7CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7CFB
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7CFB | 1.00 | 2.37 | 8.84 | 8.84 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#8CADF7
Tritanopia (blue-blind)
#EF8CB0
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #ec7cfb; /* rgb */ color: rgb(236, 124, 251); /* oklch */ color: oklch(75.7% 0.206 322.8);
Tailwind
colors: {
custom: {
50: '#f4a6fd',
500: '#ec7cfb',
950: '#000000',
},
}SCSS
$custom: #ec7cfb; $custom-light: #f4a6fd; $custom-dark: #000000;
JSON
{
"hex": "#ec7cfb",
"rgb": {
"r": 236,
"g": 124,
"b": 251
},
"hsl": {
"h": 292.913,
"s": 94.074,
"l": 73.529
},
"oklch": {
"l": 0.75739,
"c": 0.20631,
"h": 322.8
},
"luminance": 0.39213
}Semantic roles & 50–950 ramp
primary
#EC7CFB
secondary
#D9F6D5
accent
#E6001B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85