#EC57F2#EC57F2

#EC57F2 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 71.0% C 0.250 H 326.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#EC57F2
RGBrgb(236, 87, 242)
HSLhsl(298, 86%, 65%)
HSVhsv(298, 64%, 95%)
CMYKcmyk(2.5%, 64%, 0%, 5.1%)
CIE-LABlab(62.56, 75.56, -50.24)
CIE-LCHlch(62.56, 90.73, 326.38°)
OKLaboklab(70.96% 0.2081 -0.1392)
OKLCHoklch(70.96% 0.25 326.2)
XYZxyz(54.0262, 31.0635, 87.1374)
Luminance0.3106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57F2 #5DF257
analogous
#9E57F2 #EC57F2 #F257AB
triadic
#EC57F2 #F2EC57 #57F2EC
tetradic
#EC57F2 #F29E57 #5DF257 #57ABF2
square
#EC57F2 #F29E57 #5DF257 #57ABF2
split-complementary
#EC57F2 #ABF257 #57F29E
monochromatic
#B90FC0 #E61EEE #EC57F2 #F290F6 #F9C9FB

Accessibility & contrast

On white

2.91
#EC57F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#EC57F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC57F2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57F2#FFFFFF#000000##000000
##EC57F21.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF7
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#F26D9E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec57f2;
/* rgb */ color: rgb(236, 87, 242);
/* oklch */ color: oklch(71.0% 0.250 326.2);
Tailwind
colors: {
  custom: {
    50: '#f691f7',
    500: '#ec57f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec57f2;
$custom-light: #f691f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57f2",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 297.677,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70964,
    "c": 0.25033,
    "h": 326.2
  },
  "luminance": 0.3106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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