#EB8FEF#EB8FEF
#EB8FEF is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.8% C 0.164 H 325.5°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #EB8FEF |
|---|---|
| RGB | rgb(235, 143, 239) |
| HSL | hsl(298, 75%, 75%) |
| HSV | hsv(298, 40%, 94%) |
| CMYK | cmyk(1.7%, 40.2%, 0%, 6.3%) |
| CIE-LAB | lab(71.92, 49.14, -33.93) |
| CIE-LCH | lch(71.92, 59.72, 325.37°) |
| OKLab | oklab(77.79% 0.1351 -0.0927) |
| OKLCH | oklch(77.79% 0.164 325.5) |
| XYZ | xyz(59.6620, 43.5417, 86.9063) |
| Luminance | 0.4354 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.71
Lavender Pink
#DD85D7
ΔE00 4.28
Purply Pink
#F075E6
ΔE00 5.19
Plum
#DDA0DD
ΔE00 6.44
Orchid
#DA70D6
ΔE00 7.55
Baby Purple
#CA9BF7
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB8FEF #93EF8F
analogous
#BB8FEF #EB8FEF #EF8FC3
triadic
#EB8FEF #EFEB8F #8FEFEB
tetradic
#EB8FEF #EFBB8F #93EF8F #8FC3EF
square
#EB8FEF #EFBB8F #93EF8F #8FC3EF
split-complementary
#EB8FEF #C3EF8F #8FEFBB
monochromatic
#D824E0 #E159E7 #EB8FEF #F5C5F7 #FAE4FB
Accessibility & contrast
On white
2.16
#EB8FEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#EB8FEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB8FEF
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB8FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB8FEF | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#9FB4EC
Tritanopia (blue-blind)
#F099B4
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #eb8fef; /* rgb */ color: rgb(235, 143, 239); /* oklch */ color: oklch(77.8% 0.164 325.5);
Tailwind
colors: {
custom: {
50: '#f3b2f4',
500: '#eb8fef',
950: '#000000',
},
}SCSS
$custom: #eb8fef; $custom-light: #f3b2f4; $custom-dark: #000000;
JSON
{
"hex": "#eb8fef",
"rgb": {
"r": 235,
"g": 143,
"b": 239
},
"hsl": {
"h": 297.5,
"s": 75,
"l": 74.902
},
"oklch": {
"l": 0.77788,
"c": 0.16385,
"h": 325.5
},
"luminance": 0.43539
}Semantic roles & 50–950 ramp
primary
#EB8FEF
secondary
#D9F3D8
accent
#D70E17
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085