#EC9FE3#EC9FE3
#EC9FE3 is a light, vivid purple. Relative luminance 0.482; OKLCH L 79.9% C 0.126 H 330.9°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #EC9FE3 |
|---|---|
| RGB | rgb(236, 159, 227) |
| HSL | hsl(307, 67%, 77%) |
| HSV | hsv(307, 33%, 93%) |
| CMYK | cmyk(0%, 32.6%, 3.8%, 7.5%) |
| CIE-LAB | lab(74.94, 38.98, -22.74) |
| CIE-LCH | lch(74.94, 45.12, 329.74°) |
| OKLab | oklab(79.94% 0.1099 -0.0613) |
| OKLCH | oklch(79.94% 0.126 330.9) |
| XYZ | xyz(60.8544, 48.1777, 78.7519) |
| Luminance | 0.4818 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 2.80
Lavender Pink
#DD85D7
ΔE00 6.41
Violet (CSS)
#EE82EE
ΔE00 7.56
Mauve
#E0B0FF
ΔE00 7.60
Bubblegum Pink
#FE83CC
ΔE00 7.69
Light Lavendar
#EFC0FE
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC9FE3 #9FECA8
analogous
#CF9FEC #EC9FE3 #EC9FBC
triadic
#EC9FE3 #E3EC9F #9FE3EC
tetradic
#EC9FE3 #ECCF9F #9FECA8 #9FBCEC
square
#EC9FE3 #ECCF9F #9FECA8 #9FBCEC
split-complementary
#EC9FE3 #BCEC9F #9FECCF
monochromatic
#D839C5 #E26CD4 #EC9FE3 #F6D2F2 #FAE5F8
Accessibility & contrast
On white
1.97
#EC9FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.64
#EC9FE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC9FE3
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC9FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC9FE3 | 1.00 | 1.97 | 10.64 | 10.64 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9DB2E6
Deuteranopia (green-blind)
#AFBCE1
Tritanopia (blue-blind)
#F2A4B8
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #ec9fe3; /* rgb */ color: rgb(236, 159, 227); /* oklch */ color: oklch(79.9% 0.126 330.9);
Tailwind
colors: {
custom: {
50: '#f3bcec',
500: '#ec9fe3',
950: '#000000',
},
}SCSS
$custom: #ec9fe3; $custom-light: #f3bcec; $custom-dark: #000000;
JSON
{
"hex": "#ec9fe3",
"rgb": {
"r": 236,
"g": 159,
"b": 227
},
"hsl": {
"h": 307.013,
"s": 66.957,
"l": 77.451
},
"oklch": {
"l": 0.7994,
"c": 0.12587,
"h": 330.9
},
"luminance": 0.48175
}Semantic roles & 50–950 ramp
primary
#EC9FE3
secondary
#DAF1DC
accent
#CF2C17
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171216
muted
#858184