#EB5DF2#EB5DF2

#EB5DF2 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 71.4% C 0.242 H 325.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#EB5DF2
RGBrgb(235, 93, 242)
HSLhsl(297, 85%, 66%)
HSVhsv(297, 62%, 95%)
CMYKcmyk(2.9%, 61.6%, 0%, 5.1%)
CIE-LABlab(63.26, 72.97, -49.13)
CIE-LCHlch(63.26, 87.97, 326.05°)
OKLaboklab(71.45% 0.2004 -0.1361)
OKLCHoklch(71.45% 0.242 325.8)
XYZxyz(54.2012, 31.9050, 87.2906)
Luminance0.3190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5DF2 #64F25D
analogous
#A05DF2 #EB5DF2 #F25DAE
triadic
#EB5DF2 #F2EB5D #5DF2EB
tetradic
#EB5DF2 #F2A05D #64F25D #5DAEF2
square
#EB5DF2 #F2A05D #64F25D #5DAEF2
split-complementary
#EB5DF2 #AEF25D #5DF2A0
monochromatic
#BC10C5 #E424ED #EB5DF2 #F296F7 #F9CEFB

Accessibility & contrast

On white

2.85
#EB5DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#EB5DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB5DF2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5DF2#FFFFFF#000000##000000
##EB5DF21.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#458EF6
Deuteranopia (green-blind)
#7B9FEE
Tritanopia (blue-blind)
#F172A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #eb5df2;
/* rgb */ color: rgb(235, 93, 242);
/* oklch */ color: oklch(71.4% 0.242 325.8);
Tailwind
colors: {
  custom: {
    50: '#f594f7',
    500: '#eb5df2',
    950: '#000000',
  },
}
SCSS
$custom: #eb5df2;
$custom-light: #f594f7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5df2",
  "rgb": {
    "r": 235,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 297.181,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71445,
    "c": 0.24224,
    "h": 325.8
  },
  "luminance": 0.31902
}

Semantic roles & 50–950 ramp

primary
#EB5DF2
secondary
#BFEEBD
accent
#E2040E
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EB5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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