#EB57F2#EB57F2

#EB57F2 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.8% C 0.250 H 325.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#EB57F2
RGBrgb(235, 87, 242)
HSLhsl(297, 86%, 65%)
HSVhsv(297, 64%, 95%)
CMYKcmyk(2.9%, 64%, 0%, 5.1%)
CIE-LABlab(62.42, 75.33, -50.47)
CIE-LCHlch(62.42, 90.68, 326.18°)
OKLaboklab(70.83% 0.207 -0.1399)
OKLCHoklch(70.83% 0.25 325.9)
XYZxyz(53.6951, 30.8927, 87.1219)
Luminance0.3089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB57F2 #5EF257
analogous
#9D57F2 #EB57F2 #F257AC
triadic
#EB57F2 #F2EB57 #57F2EB
tetradic
#EB57F2 #F29D57 #5EF257 #57ACF2
square
#EB57F2 #F29D57 #5EF257 #57ACF2
split-complementary
#EB57F2 #ACF257 #57F29D
monochromatic
#B80FC0 #E41EEE #EB57F2 #F290F6 #F9C9FB

Accessibility & contrast

On white

2.93
#EB57F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#EB57F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB57F2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB57F2#FFFFFF#000000##000000
##EB57F21.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF7
Deuteranopia (green-blind)
#779DEE
Tritanopia (blue-blind)
#F16E9E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #eb57f2;
/* rgb */ color: rgb(235, 87, 242);
/* oklch */ color: oklch(70.8% 0.250 325.9);
Tailwind
colors: {
  custom: {
    50: '#f590f7',
    500: '#eb57f2',
    950: '#000000',
  },
}
SCSS
$custom: #eb57f2;
$custom-light: #f590f7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb57f2",
  "rgb": {
    "r": 235,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 297.29,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70831,
    "c": 0.24983,
    "h": 325.9
  },
  "luminance": 0.30889
}

Semantic roles & 50–950 ramp

primary
#EB57F2
secondary
#BAEDB8
accent
#E2030D
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EB57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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