#EC62D8#EC62D8

#EC62D8 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.9% C 0.215 H 333.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#EC62D8
RGBrgb(236, 98, 216)
HSLhsl(309, 78%, 65%)
HSVhsv(309, 58%, 93%)
CMYKcmyk(0%, 58.5%, 8.5%, 7.5%)
CIE-LABlab(62.95, 66.93, -35.11)
CIE-LCHlch(62.95, 75.58, 332.32°)
OKLaboklab(70.85% 0.193 -0.0957)
OKLCHoklch(70.85% 0.215 333.6)
XYZxyz(51.3546, 31.5299, 68.3335)
Luminance0.3153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC62D8 #62EC76
analogous
#BB62EC #EC62D8 #EC6293
triadic
#EC62D8 #D8EC62 #62D8EC
tetradic
#EC62D8 #ECBB62 #62EC76 #6293EC
square
#EC62D8 #ECBB62 #62EC76 #6293EC
split-complementary
#EC62D8 #93EC62 #62ECBB
monochromatic
#BD17A5 #E52BCA #EC62D8 #F399E6 #F9CFF3

Accessibility & contrast

On white

2.87
#EC62D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#EC62D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC62D8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC62D8#FFFFFF#000000##000000
##EC62D81.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8BDC
Deuteranopia (green-blind)
#8BA0D4
Tritanopia (blue-blind)
#F66C94
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec62d8;
/* rgb */ color: rgb(236, 98, 216);
/* oklch */ color: oklch(70.9% 0.215 333.6);
Tailwind
colors: {
  custom: {
    50: '#f596e4',
    500: '#ec62d8',
    950: '#000000',
  },
}
SCSS
$custom: #ec62d8;
$custom-light: #f596e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec62d8",
  "rgb": {
    "r": 236,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 308.696,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70853,
    "c": 0.21546,
    "h": 333.6
  },
  "luminance": 0.31526
}

Semantic roles & 50–950 ramp

primary
#EC62D8
secondary
#BEECC4
accent
#DB290B
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#170E15
muted
#857E84

Preview Lab

Preview with #EC62D8

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

Preview Lab → · Contrast checker → · Palette generator →

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