#EB5DF7#EB5DF7

#EB5DF7 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.7% C 0.246 H 324.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#EB5DF7
RGBrgb(235, 93, 247)
HSLhsl(295, 91%, 67%)
HSVhsv(295, 62%, 97%)
CMYKcmyk(4.9%, 62.3%, 0%, 3.1%)
CIE-LABlab(63.52, 73.82, -51.50)
CIE-LCHlch(63.52, 90.01, 325.10°)
OKLaboklab(71.71% 0.2006 -0.1429)
OKLCHoklch(71.71% 0.246 324.5)
XYZxyz(54.9624, 32.2095, 91.2997)
Luminance0.3221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5DF7 #69F75D
analogous
#9E5DF7 #EB5DF7 #F75DB6
triadic
#EB5DF7 #F7EB5D #5DF7EB
tetradic
#EB5DF7 #F79E5D #69F75D #5DB6F7
square
#EB5DF7 #F79E5D #69F75D #5DB6F7
split-complementary
#EB5DF7 #B6F75D #5DF79E
monochromatic
#C00ACF #E423F4 #EB5DF7 #F297FA #F9D2FD

Accessibility & contrast

On white

2.82
#EB5DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#EB5DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB5DF7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5DF7#FFFFFF#000000##000000
##EB5DF71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFC
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#F074A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #eb5df7;
/* rgb */ color: rgb(235, 93, 247);
/* oklch */ color: oklch(71.7% 0.246 324.5);
Tailwind
colors: {
  custom: {
    50: '#f594fa',
    500: '#eb5df7',
    950: '#000000',
  },
}
SCSS
$custom: #eb5df7;
$custom-light: #f594fa;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5df7",
  "rgb": {
    "r": 235,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 295.325,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71708,
    "c": 0.24634,
    "h": 324.5
  },
  "luminance": 0.32206
}

Semantic roles & 50–950 ramp

primary
#EB5DF7
secondary
#C3F1BF
accent
#E60012
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EB5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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