#EC8FF2#EC8FF2
#EC8FF2 is a light, vivid purple. Relative luminance 0.439; OKLCH L 78.0% C 0.167 H 324.8°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #EC8FF2 |
|---|---|
| RGB | rgb(236, 143, 242) |
| HSL | hsl(296, 79%, 75%) |
| HSV | hsv(296, 41%, 95%) |
| CMYK | cmyk(2.5%, 40.9%, 0%, 5.1%) |
| CIE-LAB | lab(72.16, 49.98, -35.20) |
| CIE-LCH | lch(72.16, 61.13, 324.85°) |
| OKLab | oklab(78.03% 0.1368 -0.0963) |
| OKLCH | oklch(78.03% 0.167 324.8) |
| XYZ | xyz(60.4401, 43.8912, 89.2754) |
| Luminance | 0.4389 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.67
Lavender Pink
#DD85D7
ΔE00 4.69
Purply Pink
#F075E6
ΔE00 5.25
Plum
#DDA0DD
ΔE00 6.80
Baby Purple
#CA9BF7
ΔE00 7.71
Orchid
#DA70D6
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC8FF2 #95F28F
analogous
#BB8FF2 #EC8FF2 #F28FC6
triadic
#EC8FF2 #F2EC8F #8FF2EC
tetradic
#EC8FF2 #F2BB8F #95F28F #8FC6F2
square
#EC8FF2 #F2BB8F #95F28F #8FC6F2
split-complementary
#EC8FF2 #C6F28F #8FF2BB
monochromatic
#D921E5 #E358EC #EC8FF2 #F5C6F8 #FAE4FC
Accessibility & contrast
On white
2.15
#EC8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#EC8FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC8FF2
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC8FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC8FF2 | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85AAF6
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#F09AB5
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ec8ff2; /* rgb */ color: rgb(236, 143, 242); /* oklch */ color: oklch(78.0% 0.167 324.8);
Tailwind
colors: {
custom: {
50: '#f4b2f6',
500: '#ec8ff2',
950: '#000000',
},
}SCSS
$custom: #ec8ff2; $custom-light: #f4b2f6; $custom-dark: #000000;
JSON
{
"hex": "#ec8ff2",
"rgb": {
"r": 236,
"g": 143,
"b": 242
},
"hsl": {
"h": 296.364,
"s": 79.2,
"l": 75.49
},
"oklch": {
"l": 0.78028,
"c": 0.16732,
"h": 324.8
},
"luminance": 0.43889
}Semantic roles & 50–950 ramp
primary
#EC8FF2
secondary
#D9F4D7
accent
#DB0A17
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085