#EC6CDF#EC6CDF

#EC6CDF is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.4% C 0.206 H 331.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#EC6CDF
RGBrgb(236, 108, 223)
HSLhsl(306, 77%, 67%)
HSVhsv(306, 54%, 93%)
CMYKcmyk(0%, 54.2%, 5.5%, 7.5%)
CIE-LABlab(64.87, 63.65, -36.03)
CIE-LCHlch(64.87, 73.14, 330.49°)
OKLaboklab(72.36% 0.1814 -0.0984)
OKLCHoklch(72.36% 0.206 331.5)
XYZxyz(53.2737, 33.8893, 73.5331)
Luminance0.3389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6CDF #6CEC79
analogous
#B96CEC #EC6CDF #EC6C9F
triadic
#EC6CDF #DFEC6C #6CDFEC
tetradic
#EC6CDF #ECB96C #6CEC79 #6C9FEC
square
#EC6CDF #ECB96C #6CEC79 #6C9FEC
split-complementary
#EC6CDF #9FEC6C #6CECB9
monochromatic
#C419B3 #E536D3 #EC6CDF #F3A2EB #FAD8F7

Accessibility & contrast

On white

2.70
#EC6CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#EC6CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6CDF
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6CDF#FFFFFF#000000##000000
##EC6CDF1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6792E3
Deuteranopia (green-blind)
#8EA4DB
Tritanopia (blue-blind)
#F5769C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec6cdf;
/* rgb */ color: rgb(236, 108, 223);
/* oklch */ color: oklch(72.4% 0.206 331.5);
Tailwind
colors: {
  custom: {
    50: '#f59ce9',
    500: '#ec6cdf',
    950: '#000000',
  },
}
SCSS
$custom: #ec6cdf;
$custom-light: #f59ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6cdf",
  "rgb": {
    "r": 236,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 306.094,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72363,
    "c": 0.20635,
    "h": 331.5
  },
  "luminance": 0.33886
}

Semantic roles & 50–950 ramp

primary
#EC6CDF
secondary
#C6EECA
accent
#D9210C
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170F16
muted
#857E84

Preview Lab

Preview with #EC6CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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