#EB5CEC#EB5CEC

#EB5CEC is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.0% C 0.239 H 327.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#EB5CEC
RGBrgb(235, 92, 236)
HSLhsl(300, 79%, 64%)
HSVhsv(300, 61%, 93%)
CMYKcmyk(0.4%, 61%, 0%, 7.5%)
CIE-LABlab(62.82, 72.37, -46.50)
CIE-LCHlch(62.82, 86.02, 327.28°)
OKLaboklab(71.03% 0.2012 -0.1284)
OKLCHoklch(71.03% 0.239 327.5)
XYZxyz(53.2276, 31.3760, 82.5932)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5CEC #5DEC5C
analogous
#A35CEC #EB5CEC #EC5CA5
triadic
#EB5CEC #ECEB5C #5CECEB
tetradic
#EB5CEC #ECA35C #5DEC5C #5CA5EC
square
#EB5CEC #ECA35C #5DEC5C #5CA5EC
split-complementary
#EB5CEC #A5EC5C #5CECA3
monochromatic
#B715B8 #E425E6 #EB5CEC #F293F2 #F8CAF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EB5CEC#FFFFFF#000000##000000
##EB5CEC1.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)
#498CF0
Deuteranopia (green-blind)
#7D9FE8
Tritanopia (blue-blind)
#F26F9C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #eb5cec;
/* rgb */ color: rgb(235, 92, 236);
/* oklch */ color: oklch(71.0% 0.239 327.5);
Tailwind
colors: {
  custom: {
    50: '#f593f2',
    500: '#eb5cec',
    950: '#000000',
  },
}
SCSS
$custom: #eb5cec;
$custom-light: #f593f2;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5cec",
  "rgb": {
    "r": 235,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 299.583,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.71029,
    "c": 0.23869,
    "h": 327.5
  },
  "luminance": 0.31373
}

Semantic roles & 50–950 ramp

primary
#EB5CEC
secondary
#B9EBB9
accent
#DB0A0C
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170E17
muted
#857E85

Preview Lab

Preview with #EB5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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