#EC91F2#EC91F2
#EC91F2 is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.3% C 0.164 H 324.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #EC91F2 |
|---|---|
| RGB | rgb(236, 145, 242) |
| HSL | hsl(296, 79%, 76%) |
| HSV | hsv(296, 40%, 95%) |
| CMYK | cmyk(2.5%, 40.1%, 0%, 5.1%) |
| CIE-LAB | lab(72.56, 48.96, -34.57) |
| CIE-LCH | lch(72.56, 59.94, 324.77°) |
| OKLab | oklab(78.33% 0.134 -0.0946) |
| OKLCH | oklch(78.33% 0.164 324.8) |
| XYZ | xyz(60.7430, 44.4970, 89.3763) |
| Luminance | 0.4449 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.09
Lavender Pink
#DD85D7
ΔE00 4.82
Purply Pink
#F075E6
ΔE00 5.64
Plum
#DDA0DD
ΔE00 6.46
Baby Purple
#CA9BF7
ΔE00 7.59
Orchid
#DA70D6
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC91F2 #97F291
analogous
#BB91F2 #EC91F2 #F291C7
triadic
#EC91F2 #F2EC91 #91F2EC
tetradic
#EC91F2 #F2BB91 #97F291 #91C7F2
square
#EC91F2 #F2BB91 #97F291 #91C7F2
split-complementary
#EC91F2 #C7F291 #91F2BB
monochromatic
#D924E5 #E35AEC #EC91F2 #F5C8F8 #FAE4FC
Accessibility & contrast
On white
2.12
#EC91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#EC91F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC91F2
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC91F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC91F2 | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87ABF5
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#F09BB6
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ec91f2; /* rgb */ color: rgb(236, 145, 242); /* oklch */ color: oklch(78.3% 0.164 324.8);
Tailwind
colors: {
custom: {
50: '#f4b3f6',
500: '#ec91f2',
950: '#000000',
},
}SCSS
$custom: #ec91f2; $custom-light: #f4b3f6; $custom-dark: #000000;
JSON
{
"hex": "#ec91f2",
"rgb": {
"r": 236,
"g": 145,
"b": 242
},
"hsl": {
"h": 296.289,
"s": 78.862,
"l": 75.882
},
"oklch": {
"l": 0.7833,
"c": 0.16398,
"h": 324.8
},
"luminance": 0.44494
}Semantic roles & 50–950 ramp
primary
#EC91F2
secondary
#D9F4D7
accent
#DB0A17
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085