#EC6CD8#EC6CD8

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

Color values

HEX#EC6CD8
RGBrgb(236, 108, 216)
HSLhsl(309, 77%, 67%)
HSVhsv(309, 54%, 93%)
CMYKcmyk(0%, 54.2%, 8.5%, 7.5%)
CIE-LABlab(64.58, 62.53, -32.58)
CIE-LCHlch(64.58, 70.51, 332.48°)
OKLaboklab(72.05% 0.1802 -0.0886)
OKLCHoklch(72.05% 0.201 333.8)
XYZxyz(52.3494, 33.5195, 68.6651)
Luminance0.3352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6CD8 #6CEC80
analogous
#C06CEC #EC6CD8 #EC6C98
triadic
#EC6CD8 #D8EC6C #6CD8EC
tetradic
#EC6CD8 #ECC06C #6CEC80 #6C98EC
square
#EC6CD8 #ECC06C #6CEC80 #6C98EC
split-complementary
#EC6CD8 #98EC6C #6CECC0
monochromatic
#C419AA #E536CA #EC6CD8 #F3A2E6 #FAD8F5

Accessibility & contrast

On white

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

On black

7.70
#EC6CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6CD8
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6CD8#FFFFFF#000000##000000
##EC6CD81.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DB
Deuteranopia (green-blind)
#90A3D4
Tritanopia (blue-blind)
#F67499
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec6cd8;
/* rgb */ color: rgb(236, 108, 216);
/* oklch */ color: oklch(72.0% 0.201 333.8);
Tailwind
colors: {
  custom: {
    50: '#f59ce4',
    500: '#ec6cd8',
    950: '#000000',
  },
}
SCSS
$custom: #ec6cd8;
$custom-light: #f59ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6cd8",
  "rgb": {
    "r": 236,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 309.375,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72049,
    "c": 0.20083,
    "h": 333.8
  },
  "luminance": 0.33516
}

Semantic roles & 50–950 ramp

primary
#EC6CD8
secondary
#C6EECC
accent
#D92C0C
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#170F15
muted
#857E84

Preview Lab

Preview with #EC6CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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