#EB8FF2#EB8FF2
#EB8FF2 is a light, vivid purple. Relative luminance 0.437; OKLCH L 77.9% C 0.167 H 324.5°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #EB8FF2 |
|---|---|
| RGB | rgb(235, 143, 242) |
| HSL | hsl(296, 79%, 75%) |
| HSV | hsv(296, 41%, 95%) |
| CMYK | cmyk(2.9%, 40.9%, 0%, 5.1%) |
| CIE-LAB | lab(72.04, 49.69, -35.39) |
| CIE-LCH | lch(72.04, 61.00, 324.54°) |
| OKLab | oklab(77.92% 0.1357 -0.0969) |
| OKLCH | oklch(77.92% 0.167 324.5) |
| XYZ | xyz(60.1089, 43.7204, 89.2598) |
| Luminance | 0.4372 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.70
Lavender Pink
#DD85D7
ΔE00 4.67
Purply Pink
#F075E6
ΔE00 5.28
Plum
#DDA0DD
ΔE00 6.79
Baby Purple
#CA9BF7
ΔE00 7.55
Orchid
#DA70D6
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB8FF2 #96F28F
analogous
#BA8FF2 #EB8FF2 #F28FC7
triadic
#EB8FF2 #F2EB8F #8FF2EB
tetradic
#EB8FF2 #F2BA8F #96F28F #8FC7F2
square
#EB8FF2 #F2BA8F #96F28F #8FC7F2
split-complementary
#EB8FF2 #C7F28F #8FF2BA
monochromatic
#D721E5 #E158EC #EB8FF2 #F5C6F8 #FAE4FC
Accessibility & contrast
On white
2.16
#EB8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#EB8FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB8FF2
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB8FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB8FF2 | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85A9F6
Deuteranopia (green-blind)
#9DB5EF
Tritanopia (blue-blind)
#EF9AB5
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #eb8ff2; /* rgb */ color: rgb(235, 143, 242); /* oklch */ color: oklch(77.9% 0.167 324.5);
Tailwind
colors: {
custom: {
50: '#f3b2f6',
500: '#eb8ff2',
950: '#000000',
},
}SCSS
$custom: #eb8ff2; $custom-light: #f3b2f6; $custom-dark: #000000;
JSON
{
"hex": "#eb8ff2",
"rgb": {
"r": 235,
"g": 143,
"b": 242
},
"hsl": {
"h": 295.758,
"s": 79.2,
"l": 75.49
},
"oklch": {
"l": 0.77917,
"c": 0.16672,
"h": 324.5
},
"luminance": 0.43718
}Semantic roles & 50–950 ramp
primary
#EB8FF2
secondary
#D9F4D7
accent
#DB0A19
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085