#EC62E8#EC62E8

#EC62E8 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.6% C 0.228 H 328.8°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#EC62E8
RGBrgb(236, 98, 232)
HSLhsl(302, 78%, 65%)
HSVhsv(302, 58%, 93%)
CMYKcmyk(0%, 58.5%, 1.7%, 7.5%)
CIE-LABlab(63.67, 69.49, -42.93)
CIE-LCHlch(63.67, 81.68, 328.29°)
OKLaboklab(71.61% 0.195 -0.1181)
OKLCHoklch(71.61% 0.228 328.8)
XYZxyz(53.5246, 32.3979, 79.7625)
Luminance0.3239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC62E8 #62EC66
analogous
#AB62EC #EC62E8 #EC62A3
triadic
#EC62E8 #E8EC62 #62E8EC
tetradic
#EC62E8 #ECAB62 #62EC66 #62A3EC
square
#EC62E8 #ECAB62 #62EC66 #62A3EC
split-complementary
#EC62E8 #A3EC62 #62ECAB
monochromatic
#BD17B8 #E52BE0 #EC62E8 #F399F0 #F9CFF8

Accessibility & contrast

On white

2.81
#EC62E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#EC62E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC62E8
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC62E8#FFFFFF#000000##000000
##EC62E81.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#558EEC
Deuteranopia (green-blind)
#84A1E4
Tritanopia (blue-blind)
#F3729C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec62e8;
/* rgb */ color: rgb(236, 98, 232);
/* oklch */ color: oklch(71.6% 0.228 328.8);
Tailwind
colors: {
  custom: {
    50: '#f596f0',
    500: '#ec62e8',
    950: '#000000',
  },
}
SCSS
$custom: #ec62e8;
$custom-light: #f596f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec62e8",
  "rgb": {
    "r": 236,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 301.739,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.71612,
    "c": 0.22796,
    "h": 328.8
  },
  "luminance": 0.32394
}

Semantic roles & 50–950 ramp

primary
#EC62E8
secondary
#BEECBF
accent
#DB110B
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #EC62E8

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

Preview Lab → · Contrast checker → · Palette generator →

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