#EB7EE2#EB7EE2
#EB7EE2 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.7% C 0.180 H 330.3°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #EB7EE2 |
|---|---|
| RGB | rgb(235, 126, 226) |
| HSL | hsl(305, 73%, 71%) |
| HSV | hsv(305, 46%, 92%) |
| CMYK | cmyk(0%, 46.4%, 3.8%, 7.8%) |
| CIE-LAB | lab(68.08, 55.38, -32.73) |
| CIE-LCH | lch(68.08, 64.33, 329.41°) |
| OKLab | oklab(74.75% 0.1565 -0.0892) |
| OKLCH | oklch(74.75% 0.18 330.3) |
| XYZ | xyz(55.4487, 38.0780, 76.3659) |
| Luminance | 0.3807 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.91
Violet (CSS)
#EE82EE
ΔE00 1.99
Lavender Pink
#DD85D7
ΔE00 3.02
Orchid
#DA70D6
ΔE00 4.37
Candy Pink
#FF63E9
ΔE00 4.84
Light Magenta
#FA5FF7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB7EE2 #7EEB87
analogous
#BD7EEB #EB7EE2 #EB7EAB
triadic
#EB7EE2 #E2EB7E #7EE2EB
tetradic
#EB7EE2 #EBBD7E #7EEB87 #7EABEB
square
#EB7EE2 #EBBD7E #7EEB87 #7EABEB
split-complementary
#EB7EE2 #ABEB7E #7EEBBD
monochromatic
#CF20C0 #E349D6 #EB7EE2 #F3B3EE #FBE5F9
Accessibility & contrast
On white
2.44
#EB7EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#EB7EE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB7EE2
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB7EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB7EE2 | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#799CE5
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#F287A6
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #eb7ee2; /* rgb */ color: rgb(235, 126, 226); /* oklch */ color: oklch(74.7% 0.180 330.3);
Tailwind
colors: {
custom: {
50: '#f3a7eb',
500: '#eb7ee2',
950: '#000000',
},
}SCSS
$custom: #eb7ee2; $custom-light: #f3a7eb; $custom-dark: #000000;
JSON
{
"hex": "#eb7ee2",
"rgb": {
"r": 235,
"g": 126,
"b": 226
},
"hsl": {
"h": 304.954,
"s": 73.154,
"l": 70.784
},
"oklch": {
"l": 0.74747,
"c": 0.18012,
"h": 330.3
},
"luminance": 0.38075
}Semantic roles & 50–950 ramp
primary
#EB7EE2
secondary
#D4F1D6
accent
#D52110
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84