#EC57F9#EC57F9

#EC57F9 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 71.3% C 0.256 H 324.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#EC57F9
RGBrgb(236, 87, 249)
HSLhsl(295, 93%, 66%)
HSVhsv(295, 65%, 98%)
CMYKcmyk(5.2%, 65.1%, 0%, 2.4%)
CIE-LABlab(62.92, 76.73, -53.54)
CIE-LCHlch(62.92, 93.56, 325.09°)
OKLaboklab(71.34% 0.2082 -0.1488)
OKLCHoklch(71.34% 0.256 324.5)
XYZxyz(55.0977, 31.4921, 92.7806)
Luminance0.3149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57F9 #64F957
analogous
#9B57F9 #EC57F9 #F957B5
triadic
#EC57F9 #F9EC57 #57F9EC
tetradic
#EC57F9 #F99B57 #64F957 #57B5F9
square
#EC57F9 #F99B57 #64F957 #57B5F9
split-complementary
#EC57F9 #B5F957 #57F99B
monochromatic
#BE07CE #E51CF7 #EC57F9 #F392FB #F9CDFD

Accessibility & contrast

On white

2.88
#EC57F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#EC57F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC57F9
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57F9#FFFFFF#000000##000000
##EC57F91.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#348DFE
Deuteranopia (green-blind)
#749EF5
Tritanopia (blue-blind)
#F170A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec57f9;
/* rgb */ color: rgb(236, 87, 249);
/* oklch */ color: oklch(71.3% 0.256 324.5);
Tailwind
colors: {
  custom: {
    50: '#f691fc',
    500: '#ec57f9',
    950: '#000000',
  },
}
SCSS
$custom: #ec57f9;
$custom-light: #f691fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57f9",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 249
  },
  "hsl": {
    "h": 295.185,
    "s": 93.103,
    "l": 65.882
  },
  "oklch": {
    "l": 0.7134,
    "c": 0.25592,
    "h": 324.5
  },
  "luminance": 0.31489
}

Semantic roles & 50–950 ramp

primary
#EC57F9
secondary
#BFF1BB
accent
#E60012
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC57F9

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

Preview Lab → · Contrast checker → · Palette generator →

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