#EB5FEC#EB5FEC

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

Color values

HEX#EB5FEC
RGBrgb(235, 95, 236)
HSLhsl(300, 79%, 65%)
HSVhsv(300, 60%, 93%)
CMYKcmyk(0.4%, 59.7%, 0%, 7.5%)
CIE-LABlab(63.27, 71.15, -45.80)
CIE-LCHlch(63.27, 84.62, 327.23°)
OKLaboklab(71.35% 0.1978 -0.1264)
OKLCHoklch(71.35% 0.235 327.4)
XYZxyz(53.4927, 31.9061, 82.6816)
Luminance0.3190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5FEC #60EC5F
analogous
#A45FEC #EB5FEC #EC5FA7
triadic
#EB5FEC #ECEB5F #5FECEB
tetradic
#EB5FEC #ECA45F #60EC5F #5FA7EC
square
#EB5FEC #ECA45F #60EC5F #5FA7EC
split-complementary
#EB5FEC #A7EC5F #5FECA4
monochromatic
#B916BA #E428E6 #EB5FEC #F296F2 #F9CCF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EB5FEC#FFFFFF#000000##000000
##EB5FEC1.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)
#4D8DF0
Deuteranopia (green-blind)
#7FA0E8
Tritanopia (blue-blind)
#F2719D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #eb5fec;
/* rgb */ color: rgb(235, 95, 236);
/* oklch */ color: oklch(71.4% 0.235 327.4);
Tailwind
colors: {
  custom: {
    50: '#f595f2',
    500: '#eb5fec',
    950: '#000000',
  },
}
SCSS
$custom: #eb5fec;
$custom-light: #f595f2;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5fec",
  "rgb": {
    "r": 235,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 299.574,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.7135,
    "c": 0.23472,
    "h": 327.4
  },
  "luminance": 0.31903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB5FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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