#EB7FF2#EB7FF2
#EB7FF2 is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.6% C 0.193 H 325.0°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #EB7FF2 |
|---|---|
| RGB | rgb(235, 127, 242) |
| HSL | hsl(296, 82%, 72%) |
| HSV | hsv(296, 48%, 95%) |
| CMYK | cmyk(2.9%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(68.94, 57.70, -40.22) |
| CIE-LCH | lch(68.94, 70.33, 325.12°) |
| OKLab | oklab(75.6% 0.1579 -0.1106) |
| OKLCH | oklch(75.6% 0.193 325) |
| XYZ | xyz(57.8760, 39.2545, 88.5155) |
| Luminance | 0.3925 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.34
Purply Pink
#F075E6
ΔE00 2.80
Lavender Pink
#DD85D7
ΔE00 4.94
Light Magenta
#FA5FF7
ΔE00 5.19
Violet Pink
#FB5FFC
ΔE00 5.26
Candy Pink
#FF63E9
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB7FF2 #86F27F
analogous
#B27FF2 #EB7FF2 #F27FBF
triadic
#EB7FF2 #F2EB7F #7FF2EB
tetradic
#EB7FF2 #F2B27F #86F27F #7FBFF2
square
#EB7FF2 #F2B27F #86F27F #7FBFF2
split-complementary
#EB7FF2 #BFF27F #7FF2B2
monochromatic
#D417E0 #E247EC #EB7FF2 #F4B7F8 #FBE3FC
Accessibility & contrast
On white
2.37
#EB7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#EB7FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB7FF2
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB7FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB7FF2 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#92ADEF
Tritanopia (blue-blind)
#F08CAD
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #eb7ff2; /* rgb */ color: rgb(235, 127, 242); /* oklch */ color: oklch(75.6% 0.193 325.0);
Tailwind
colors: {
custom: {
50: '#f4a7f6',
500: '#eb7ff2',
950: '#000000',
},
}SCSS
$custom: #eb7ff2; $custom-light: #f4a7f6; $custom-dark: #000000;
JSON
{
"hex": "#eb7ff2",
"rgb": {
"r": 235,
"g": 127,
"b": 242
},
"hsl": {
"h": 296.348,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.75603,
"c": 0.19277,
"h": 325
},
"luminance": 0.39252
}Semantic roles & 50–950 ramp
primary
#EB7FF2
secondary
#D9F4D7
accent
#DE0815
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85