#EB5CF2#EB5CF2
#EB5CF2 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.3% C 0.244 H 325.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #EB5CF2 |
|---|---|
| RGB | rgb(235, 92, 242) |
| HSL | hsl(297, 85%, 65%) |
| HSV | hsv(297, 62%, 95%) |
| CMYK | cmyk(2.9%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(63.12, 73.37, -49.36) |
| CIE-LCH | lch(63.12, 88.43, 326.07°) |
| OKLab | oklab(71.34% 0.2015 -0.1367) |
| OKLCH | oklch(71.34% 0.244 325.8) |
| XYZ | xyz(54.1140, 31.7306, 87.2615) |
| Luminance | 0.3173 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.65
Violet Pink
#FB5FFC
ΔE00 2.84
Heliotrope
#D94FF5
ΔE00 4.52
Candy Pink
#FF63E9
ΔE00 4.71
Orchid
#DA70D6
ΔE00 5.38
Purply Pink
#F075E6
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB5CF2 #63F25C
analogous
#A05CF2 #EB5CF2 #F25CAE
triadic
#EB5CF2 #F2EB5C #5CF2EB
tetradic
#EB5CF2 #F2A05C #63F25C #5CAEF2
square
#EB5CF2 #F2A05C #63F25C #5CAEF2
split-complementary
#EB5CF2 #AEF25C #5CF2A0
monochromatic
#BC10C4 #E423ED #EB5CF2 #F295F7 #F9CDFB
Accessibility & contrast
On white
2.86
#EB5CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#EB5CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB5CF2
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB5CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB5CF2 | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#7A9FEE
Tritanopia (blue-blind)
#F1719F
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #eb5cf2; /* rgb */ color: rgb(235, 92, 242); /* oklch */ color: oklch(71.3% 0.244 325.8);
Tailwind
colors: {
custom: {
50: '#f593f7',
500: '#eb5cf2',
950: '#000000',
},
}SCSS
$custom: #eb5cf2; $custom-light: #f593f7; $custom-dark: #000000;
JSON
{
"hex": "#eb5cf2",
"rgb": {
"r": 235,
"g": 92,
"b": 242
},
"hsl": {
"h": 297.2,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.7134,
"c": 0.24353,
"h": 325.8
},
"luminance": 0.31727
}Semantic roles & 50–950 ramp
primary
#EB5CF2
secondary
#BEEEBC
accent
#E2040E
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85