#EC6CD7#EC6CD7

#EC6CD7 is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 72.0% C 0.200 H 334.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#EC6CD7
RGBrgb(236, 108, 215)
HSLhsl(310, 77%, 67%)
HSVhsv(310, 54%, 93%)
CMYKcmyk(0%, 54.2%, 8.9%, 7.5%)
CIE-LABlab(64.54, 62.37, -32.08)
CIE-LCHlch(64.54, 70.14, 332.78°)
OKLaboklab(72.01% 0.18 -0.0872)
OKLCHoklch(72.01% 0.2 334.2)
XYZxyz(52.2205, 33.4680, 67.9863)
Luminance0.3346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6CD7 #6CEC81
analogous
#C16CEC #EC6CD7 #EC6C97
triadic
#EC6CD7 #D7EC6C #6CD7EC
tetradic
#EC6CD7 #ECC16C #6CEC81 #6C97EC
square
#EC6CD7 #ECC16C #6CEC81 #6C97EC
split-complementary
#EC6CD7 #97EC6C #6CECC1
monochromatic
#C419A8 #E536C8 #EC6CD7 #F3A2E6 #FAD8F4

Accessibility & contrast

On white

2.73
#EC6CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#EC6CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6CD7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6CD7#FFFFFF#000000##000000
##EC6CD71.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B91DA
Deuteranopia (green-blind)
#91A3D4
Tritanopia (blue-blind)
#F67498
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec6cd7;
/* rgb */ color: rgb(236, 108, 215);
/* oklch */ color: oklch(72.0% 0.200 334.2);
Tailwind
colors: {
  custom: {
    50: '#f59ce3',
    500: '#ec6cd7',
    950: '#000000',
  },
}
SCSS
$custom: #ec6cd7;
$custom-light: #f59ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6cd7",
  "rgb": {
    "r": 236,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 309.844,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72005,
    "c": 0.20005,
    "h": 334.2
  },
  "luminance": 0.33464
}

Semantic roles & 50–950 ramp

primary
#EC6CD7
secondary
#C6EECC
accent
#D92E0C
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#170F15
muted
#857E83

Preview Lab

Preview with #EC6CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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