#EC90F2#EC90F2
#EC90F2 is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.2% C 0.166 H 324.8°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #EC90F2 |
|---|---|
| RGB | rgb(236, 144, 242) |
| HSL | hsl(296, 79%, 76%) |
| HSV | hsv(296, 40%, 95%) |
| CMYK | cmyk(2.5%, 40.5%, 0%, 5.1%) |
| CIE-LAB | lab(72.36, 49.47, -34.89) |
| CIE-LCH | lch(72.36, 60.54, 324.81°) |
| OKLab | oklab(78.18% 0.1354 -0.0955) |
| OKLCH | oklch(78.18% 0.166 324.8) |
| XYZ | xyz(60.5909, 44.1928, 89.3256) |
| Luminance | 0.4419 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.88
Lavender Pink
#DD85D7
ΔE00 4.75
Purply Pink
#F075E6
ΔE00 5.44
Plum
#DDA0DD
ΔE00 6.63
Baby Purple
#CA9BF7
ΔE00 7.64
Orchid
#DA70D6
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC90F2 #96F290
analogous
#BB90F2 #EC90F2 #F290C7
triadic
#EC90F2 #F2EC90 #90F2EC
tetradic
#EC90F2 #F2BB90 #96F290 #90C7F2
square
#EC90F2 #F2BB90 #96F290 #90C7F2
split-complementary
#EC90F2 #C7F290 #90F2BB
monochromatic
#D922E5 #E359EC #EC90F2 #F5C7F8 #FAE4FC
Accessibility & contrast
On white
2.13
#EC90F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#EC90F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC90F2
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC90F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC90F2 | 1.00 | 2.13 | 9.84 | 9.84 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86AAF6
Deuteranopia (green-blind)
#9FB5EF
Tritanopia (blue-blind)
#F09AB6
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ec90f2; /* rgb */ color: rgb(236, 144, 242); /* oklch */ color: oklch(78.2% 0.166 324.8);
Tailwind
colors: {
custom: {
50: '#f4b2f6',
500: '#ec90f2',
950: '#000000',
},
}SCSS
$custom: #ec90f2; $custom-light: #f4b2f6; $custom-dark: #000000;
JSON
{
"hex": "#ec90f2",
"rgb": {
"r": 236,
"g": 144,
"b": 242
},
"hsl": {
"h": 296.327,
"s": 79.032,
"l": 75.686
},
"oklch": {
"l": 0.78179,
"c": 0.16565,
"h": 324.8
},
"luminance": 0.4419
}Semantic roles & 50–950 ramp
primary
#EC90F2
secondary
#D9F4D7
accent
#DB0A17
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085