#EB8CF2#EB8CF2
#EB8CF2 is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.5% C 0.172 H 324.6°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #EB8CF2 |
|---|---|
| RGB | rgb(235, 140, 242) |
| HSL | hsl(296, 80%, 75%) |
| HSV | hsv(296, 42%, 95%) |
| CMYK | cmyk(2.9%, 42.1%, 0%, 5.1%) |
| CIE-LAB | lab(71.44, 51.22, -36.32) |
| CIE-LCH | lch(71.44, 62.79, 324.66°) |
| OKLab | oklab(77.47% 0.1399 -0.0995) |
| OKLCH | oklch(77.47% 0.172 324.6) |
| XYZ | xyz(59.6646, 42.8317, 89.1117) |
| Luminance | 0.4283 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.10
Lavender Pink
#DD85D7
ΔE00 4.55
Purply Pink
#F075E6
ΔE00 4.72
Orchid
#DA70D6
ΔE00 7.17
Plum
#DDA0DD
ΔE00 7.32
Candy Pink
#FF63E9
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB8CF2 #93F28C
analogous
#B88CF2 #EB8CF2 #F28CC6
triadic
#EB8CF2 #F2EB8C #8CF2EB
tetradic
#EB8CF2 #F2B88C #93F28C #8CC6F2
square
#EB8CF2 #F2B88C #93F28C #8CC6F2
split-complementary
#EB8CF2 #C6F28C #8CF2B8
monochromatic
#D81EE6 #E155EC #EB8CF2 #F5C3F8 #FAE4FC
Accessibility & contrast
On white
2.20
#EB8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.57
#EB8CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB8CF2
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB8CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB8CF2 | 1.00 | 2.20 | 9.57 | 9.57 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81A8F6
Deuteranopia (green-blind)
#9BB3EF
Tritanopia (blue-blind)
#EF97B4
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #eb8cf2; /* rgb */ color: rgb(235, 140, 242); /* oklch */ color: oklch(77.5% 0.172 324.6);
Tailwind
colors: {
custom: {
50: '#f3b0f6',
500: '#eb8cf2',
950: '#000000',
},
}SCSS
$custom: #eb8cf2; $custom-light: #f3b0f6; $custom-dark: #000000;
JSON
{
"hex": "#eb8cf2",
"rgb": {
"r": 235,
"g": 140,
"b": 242
},
"hsl": {
"h": 295.882,
"s": 79.687,
"l": 74.902
},
"oklch": {
"l": 0.77468,
"c": 0.1717,
"h": 324.6
},
"luminance": 0.42829
}Semantic roles & 50–950 ramp
primary
#EB8CF2
secondary
#D9F4D7
accent
#DC0A18
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085