#EB5FE2#EB5FE2

#EB5FE2 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.9% C 0.227 H 330.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#EB5FE2
RGBrgb(235, 95, 226)
HSLhsl(304, 78%, 65%)
HSVhsv(304, 60%, 92%)
CMYKcmyk(0%, 59.6%, 3.8%, 7.8%)
CIE-LABlab(62.79, 69.52, -40.97)
CIE-LCHlch(62.79, 80.69, 329.49°)
OKLaboklab(70.85% 0.1969 -0.1125)
OKLCHoklch(70.85% 0.227 330.3)
XYZxyz(52.0803, 31.3412, 75.2431)
Luminance0.3134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5FE2 #5FEB68
analogous
#AE5FEB #EB5FE2 #EB5F9C
triadic
#EB5FE2 #E2EB5F #5FE2EB
tetradic
#EB5FE2 #EBAE5F #5FEB68 #5F9CEB
square
#EB5FE2 #EBAE5F #5FEB68 #5F9CEB
split-complementary
#EB5FE2 #9CEB5F #5FEBAE
monochromatic
#B917AE #E429D8 #EB5FE2 #F295EC #F9CCF6

Accessibility & contrast

On white

2.89
#EB5FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#EB5FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB5FE2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5FE2#FFFFFF#000000##000000
##EB5FE21.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#558CE6
Deuteranopia (green-blind)
#849FDE
Tritanopia (blue-blind)
#F36D98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #eb5fe2;
/* rgb */ color: rgb(235, 95, 226);
/* oklch */ color: oklch(70.9% 0.227 330.3);
Tailwind
colors: {
  custom: {
    50: '#f594eb',
    500: '#eb5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #eb5fe2;
$custom-light: #f594eb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5fe2",
  "rgb": {
    "r": 235,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 303.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70854,
    "c": 0.22675,
    "h": 330.3
  },
  "luminance": 0.31338
}

Semantic roles & 50–950 ramp

primary
#EB5FE2
secondary
#BBEBBE
accent
#DA190B
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #EB5FE2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#EB5FE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva