#EC6ED9#EC6ED9

#EC6ED9 is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.3% C 0.199 H 333.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#EC6ED9
RGBrgb(236, 110, 217)
HSLhsl(309, 77%, 68%)
HSVhsv(309, 53%, 93%)
CMYKcmyk(0%, 53.4%, 8.1%, 7.5%)
CIE-LABlab(64.96, 61.78, -32.55)
CIE-LCHlch(64.96, 69.83, 332.22°)
OKLaboklab(72.34% 0.1778 -0.0885)
OKLCHoklch(72.34% 0.199 333.5)
XYZxyz(52.6924, 33.9981, 69.4192)
Luminance0.3399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6ED9 #6EEC81
analogous
#C06EEC #EC6ED9 #EC6E9A
triadic
#EC6ED9 #D9EC6E #6ED9EC
tetradic
#EC6ED9 #ECC06E #6EEC81 #6E9AEC
square
#EC6ED9 #ECC06E #6EEC81 #6E9AEC
split-complementary
#EC6ED9 #9AEC6E #6EECC0
monochromatic
#C61AAC #E538CB #EC6ED9 #F3A4E7 #FADAF5

Accessibility & contrast

On white

2.69
#EC6ED9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#EC6ED9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6ED9
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6ED9#FFFFFF#000000##000000
##EC6ED91.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C92DC
Deuteranopia (green-blind)
#91A4D6
Tritanopia (blue-blind)
#F5769A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec6ed9;
/* rgb */ color: rgb(236, 110, 217);
/* oklch */ color: oklch(72.3% 0.199 333.5);
Tailwind
colors: {
  custom: {
    50: '#f59de5',
    500: '#ec6ed9',
    950: '#000000',
  },
}
SCSS
$custom: #ec6ed9;
$custom-light: #f59de5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6ed9",
  "rgb": {
    "r": 236,
    "g": 110,
    "b": 217
  },
  "hsl": {
    "h": 309.048,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72344,
    "c": 0.19858,
    "h": 333.5
  },
  "luminance": 0.33994
}

Semantic roles & 50–950 ramp

primary
#EC6ED9
secondary
#C7EECD
accent
#D92B0C
background
#FFFAFE
surface
#FFF3FC
border
#D7CDD5
text
#170F15
muted
#857F84

Preview Lab

Preview with #EC6ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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