#EB5FE1#EB5FE1

#EB5FE1 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.8% C 0.226 H 330.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#EB5FE1
RGBrgb(235, 95, 225)
HSLhsl(304, 78%, 65%)
HSVhsv(304, 60%, 92%)
CMYKcmyk(0%, 59.6%, 4.3%, 7.8%)
CIE-LABlab(62.75, 69.36, -40.48)
CIE-LCHlch(62.75, 80.31, 329.73°)
OKLaboklab(70.81% 0.1968 -0.1111)
OKLCHoklch(70.81% 0.226 330.6)
XYZxyz(51.9435, 31.2865, 74.5226)
Luminance0.3128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5FE1 #5FEB69
analogous
#AF5FEB #EB5FE1 #EB5F9B
triadic
#EB5FE1 #E1EB5F #5FE1EB
tetradic
#EB5FE1 #EBAF5F #5FEB69 #5F9BEB
square
#EB5FE1 #EBAF5F #5FEB69 #5F9BEB
split-complementary
#EB5FE1 #9BEB5F #5FEBAF
monochromatic
#B917AD #E429D7 #EB5FE1 #F295EB #F9CCF5

Accessibility & contrast

On white

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

On black

7.26
#EB5FE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB5FE1
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5FE1#FFFFFF#000000##000000
##EB5FE11.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#568BE5
Deuteranopia (green-blind)
#849FDD
Tritanopia (blue-blind)
#F36D98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #eb5fe1;
/* rgb */ color: rgb(235, 95, 225);
/* oklch */ color: oklch(70.8% 0.226 330.6);
Tailwind
colors: {
  custom: {
    50: '#f594eb',
    500: '#eb5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #eb5fe1;
$custom-light: #f594eb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5fe1",
  "rgb": {
    "r": 235,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 304.286,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70806,
    "c": 0.22596,
    "h": 330.6
  },
  "luminance": 0.31283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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