#EC59F2#EC59F2

#EC59F2 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.2% C 0.248 H 326.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#EC59F2
RGBrgb(236, 89, 242)
HSLhsl(298, 85%, 65%)
HSVhsv(298, 63%, 95%)
CMYKcmyk(2.5%, 63.2%, 0%, 5.1%)
CIE-LABlab(62.84, 74.79, -49.80)
CIE-LCHlch(62.84, 89.85, 326.34°)
OKLaboklab(71.16% 0.2059 -0.1379)
OKLCHoklch(71.16% 0.248 326.2)
XYZxyz(54.1904, 31.3918, 87.1921)
Luminance0.3139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC59F2 #5FF259
analogous
#9F59F2 #EC59F2 #F259AC
triadic
#EC59F2 #F2EC59 #59F2EC
tetradic
#EC59F2 #F29F59 #5FF259 #59ACF2
square
#EC59F2 #F29F59 #5FF259 #59ACF2
split-complementary
#EC59F2 #ACF259 #59F29F
monochromatic
#BA0FC1 #E620EE #EC59F2 #F292F6 #F9CBFB

Accessibility & contrast

On white

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

On black

7.28
#EC59F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC59F2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC59F2#FFFFFF#000000##000000
##EC59F21.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF7
Deuteranopia (green-blind)
#799EEE
Tritanopia (blue-blind)
#F26F9E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec59f2;
/* rgb */ color: rgb(236, 89, 242);
/* oklch */ color: oklch(71.2% 0.248 326.2);
Tailwind
colors: {
  custom: {
    50: '#f692f7',
    500: '#ec59f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec59f2;
$custom-light: #f692f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec59f2",
  "rgb": {
    "r": 236,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 297.647,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.71164,
    "c": 0.24784,
    "h": 326.2
  },
  "luminance": 0.31388
}

Semantic roles & 50–950 ramp

primary
#EC59F2
secondary
#BBEDB9
accent
#E2040C
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC59F2

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

Preview Lab → · Contrast checker → · Palette generator →

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