#EC9CFB#EC9CFB
#EC9CFB is a light, vivid purple. Relative luminance 0.486; OKLCH L 80.4% C 0.154 H 321.1°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #EC9CFB |
|---|---|
| RGB | rgb(236, 156, 251) |
| HSL | hsl(291, 92%, 80%) |
| HSV | hsv(291, 38%, 98%) |
| CMYK | cmyk(6%, 37.8%, 0%, 1.6%) |
| CIE-LAB | lab(75.19, 44.95, -35.39) |
| CIE-LCH | lch(75.19, 57.21, 321.78°) |
| OKLab | oklab(80.42% 0.1202 -0.097) |
| OKLCH | oklch(80.42% 0.154 321.1) |
| XYZ | xyz(63.8910, 48.5769, 97.2588) |
| Luminance | 0.4858 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 5.56
Mauve
#E0B0FF
ΔE00 5.74
Plum
#DDA0DD
ΔE00 6.16
Baby Purple
#CA9BF7
ΔE00 6.50
Lilac (survey)
#CEA2FD
ΔE00 6.52
Lavender Pink
#DD85D7
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC9CFB #ABFB9C
analogous
#BC9CFB #EC9CFB #FB9CDB
triadic
#EC9CFB #FBEC9C #9CFBEC
tetradic
#EC9CFB #FBBC9C #ABFB9C #9CDBFB
square
#EC9CFB #FBBC9C #ABFB9C #9CDBFB
split-complementary
#EC9CFB #DBFB9C #9CFBBC
monochromatic
#D526F6 #E161F9 #EC9CFB #F7D7FD #F9E2FE
Accessibility & contrast
On white
1.96
#EC9CFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.72
#EC9CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC9CFB
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC9CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC9CFB | 1.00 | 1.96 | 10.72 | 10.72 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90B3FF
Deuteranopia (green-blind)
#A5BCF8
Tritanopia (blue-blind)
#EEA7C0
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #ec9cfb; /* rgb */ color: rgb(236, 156, 251); /* oklch */ color: oklch(80.4% 0.154 321.1);
Tailwind
colors: {
custom: {
50: '#f3bafd',
500: '#ec9cfb',
950: '#000000',
},
}SCSS
$custom: #ec9cfb; $custom-light: #f3bafd; $custom-dark: #000000;
JSON
{
"hex": "#ec9cfb",
"rgb": {
"r": 236,
"g": 156,
"b": 251
},
"hsl": {
"h": 290.526,
"s": 92.233,
"l": 79.804
},
"oklch": {
"l": 0.80422,
"c": 0.15444,
"h": 321.1
},
"luminance": 0.48575
}Semantic roles & 50–950 ramp
primary
#EC9CFB
secondary
#DAF6D5
accent
#E60024
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171217
muted
#858185