#EF8DE2#EF8DE2
#EF8DE2 is a light, vivid purple. Relative luminance 0.429; OKLCH L 77.4% C 0.158 H 332.0°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #EF8DE2 |
|---|---|
| RGB | rgb(239, 141, 226) |
| HSL | hsl(308, 75%, 75%) |
| HSV | hsv(308, 41%, 94%) |
| CMYK | cmyk(0%, 41%, 5.4%, 6.3%) |
| CIE-LAB | lab(71.48, 49.07, -27.44) |
| CIE-LCH | lch(71.48, 56.22, 330.79°) |
| OKLab | oklab(77.4% 0.1395 -0.0743) |
| OKLCH | oklch(77.4% 0.158 332) |
| XYZ | xyz(58.8484, 42.8946, 77.1165) |
| Luminance | 0.4289 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 3.48
Violet (CSS)
#EE82EE
ΔE00 3.80
Purply Pink
#F075E6
ΔE00 5.19
Bubblegum Pink
#FE83CC
ΔE00 5.79
Plum
#DDA0DD
ΔE00 5.94
Orchid
#DA70D6
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF8DE2 #8DEF9A
analogous
#CB8DEF #EF8DE2 #EF8DB1
triadic
#EF8DE2 #E2EF8D #8DE2EF
tetradic
#EF8DE2 #EFCB8D #8DEF9A #8DB1EF
square
#EF8DE2 #EFCB8D #8DEF9A #8DB1EF
split-complementary
#EF8DE2 #B1EF8D #8DEFCB
monochromatic
#E022C7 #E757D4 #EF8DE2 #F7C3F0 #FBE4F8
Accessibility & contrast
On white
2.19
#EF8DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#EF8DE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF8DE2
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF8DE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF8DE2 | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AA6E5
Deuteranopia (green-blind)
#A4B4DF
Tritanopia (blue-blind)
#F793AD
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ef8de2; /* rgb */ color: rgb(239, 141, 226); /* oklch */ color: oklch(77.4% 0.158 332.0);
Tailwind
colors: {
custom: {
50: '#f6b0eb',
500: '#ef8de2',
950: '#000000',
},
}SCSS
$custom: #ef8de2; $custom-light: #f6b0eb; $custom-dark: #000000;
JSON
{
"hex": "#ef8de2",
"rgb": {
"r": 239,
"g": 141,
"b": 226
},
"hsl": {
"h": 307.959,
"s": 75.385,
"l": 74.51
},
"oklch": {
"l": 0.77395,
"c": 0.15807,
"h": 332
},
"luminance": 0.42891
}Semantic roles & 50–950 ramp
primary
#EF8DE2
secondary
#D8F3DC
accent
#D8290E
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084