#ED8FF2#ED8FF2
#ED8FF2 is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.1% C 0.168 H 325.2°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #ED8FF2 |
|---|---|
| RGB | rgb(237, 143, 242) |
| HSL | hsl(297, 79%, 75%) |
| HSV | hsv(297, 41%, 95%) |
| CMYK | cmyk(2.1%, 40.9%, 0%, 5.1%) |
| CIE-LAB | lab(72.27, 50.28, -35.01) |
| CIE-LCH | lch(72.27, 61.27, 325.15°) |
| OKLab | oklab(78.14% 0.1379 -0.0958) |
| OKLCH | oklch(78.14% 0.168 325.2) |
| XYZ | xyz(60.7731, 44.0629, 89.2910) |
| Luminance | 0.4406 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.65
Lavender Pink
#DD85D7
ΔE00 4.72
Purply Pink
#F075E6
ΔE00 5.22
Plum
#DDA0DD
ΔE00 6.81
Orchid
#DA70D6
ΔE00 7.76
Candy Pink
#FF63E9
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ED8FF2 #94F28F
analogous
#BB8FF2 #ED8FF2 #F28FC5
triadic
#ED8FF2 #F2ED8F #8FF2ED
tetradic
#ED8FF2 #F2BB8F #94F28F #8FC5F2
square
#ED8FF2 #F2BB8F #94F28F #8FC5F2
split-complementary
#ED8FF2 #C5F28F #8FF2BB
monochromatic
#DB21E5 #E458EC #ED8FF2 #F6C6F8 #FBE4FC
Accessibility & contrast
On white
2.14
#ED8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.81
#ED8FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ED8FF2
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ED8FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ED8FF2 | 1.00 | 2.14 | 9.81 | 9.81 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85AAF6
Deuteranopia (green-blind)
#9FB5EF
Tritanopia (blue-blind)
#F199B5
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ed8ff2; /* rgb */ color: rgb(237, 143, 242); /* oklch */ color: oklch(78.1% 0.168 325.2);
Tailwind
colors: {
custom: {
50: '#f4b2f6',
500: '#ed8ff2',
950: '#000000',
},
}SCSS
$custom: #ed8ff2; $custom-light: #f4b2f6; $custom-dark: #000000;
JSON
{
"hex": "#ed8ff2",
"rgb": {
"r": 237,
"g": 143,
"b": 242
},
"hsl": {
"h": 296.97,
"s": 79.2,
"l": 75.49
},
"oklch": {
"l": 0.78139,
"c": 0.16792,
"h": 325.2
},
"luminance": 0.4406
}Semantic roles & 50–950 ramp
primary
#ED8FF2
secondary
#D9F4D7
accent
#DB0A15
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085