#EB7FE2#EB7FE2
#EB7FE2 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.9% C 0.178 H 330.3°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #EB7FE2 |
|---|---|
| RGB | rgb(235, 127, 226) |
| HSL | hsl(305, 73%, 71%) |
| HSV | hsv(305, 46%, 92%) |
| CMYK | cmyk(0%, 46%, 3.8%, 7.8%) |
| CIE-LAB | lab(68.27, 54.89, -32.44) |
| CIE-LCH | lch(68.27, 63.76, 329.42°) |
| OKLab | oklab(74.89% 0.1551 -0.0884) |
| OKLCH | oklch(74.89% 0.179 330.3) |
| XYZ | xyz(55.5772, 38.3350, 76.4088) |
| Luminance | 0.3833 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.96
Purply Pink
#F075E6
ΔE00 2.10
Lavender Pink
#DD85D7
ΔE00 2.91
Orchid
#DA70D6
ΔE00 4.53
Candy Pink
#FF63E9
ΔE00 5.01
Light Magenta
#FA5FF7
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB7FE2 #7FEB88
analogous
#BE7FEB #EB7FE2 #EB7FAC
triadic
#EB7FE2 #E2EB7F #7FE2EB
tetradic
#EB7FE2 #EBBE7F #7FEB88 #7FACEB
square
#EB7FE2 #EBBE7F #7FEB88 #7FACEB
split-complementary
#EB7FE2 #ACEB7F #7FEBBE
monochromatic
#CF20C1 #E34AD6 #EB7FE2 #F3B4EE #FBE5F9
Accessibility & contrast
On white
2.42
#EB7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#EB7FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB7FE2
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB7FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB7FE2 | 1.00 | 2.42 | 8.67 | 8.67 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A9DE5
Deuteranopia (green-blind)
#98ACDF
Tritanopia (blue-blind)
#F288A6
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #eb7fe2; /* rgb */ color: rgb(235, 127, 226); /* oklch */ color: oklch(74.9% 0.178 330.3);
Tailwind
colors: {
custom: {
50: '#f3a7eb',
500: '#eb7fe2',
950: '#000000',
},
}SCSS
$custom: #eb7fe2; $custom-light: #f3a7eb; $custom-dark: #000000;
JSON
{
"hex": "#eb7fe2",
"rgb": {
"r": 235,
"g": 127,
"b": 226
},
"hsl": {
"h": 305,
"s": 72.973,
"l": 70.98
},
"oklch": {
"l": 0.74887,
"c": 0.1785,
"h": 330.3
},
"luminance": 0.38332
}Semantic roles & 50–950 ramp
primary
#EB7FE2
secondary
#D5F1D7
accent
#D52110
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84