#EC8DDD#EC8DDD

#EC8DDD is a light, vivid purple. Relative luminance 0.421; OKLCH L 76.9% C 0.152 H 332.9°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#EC8DDD
RGBrgb(236, 141, 221)
HSLhsl(309, 71%, 74%)
HSVhsv(309, 40%, 93%)
CMYKcmyk(0%, 40.3%, 6.4%, 7.5%)
CIE-LABlab(70.94, 47.30, -25.55)
CIE-LCHlch(70.94, 53.76, 331.63°)
OKLaboklab(76.85% 0.135 -0.069)
OKLCHoklch(76.85% 0.152 332.9)
XYZxyz(57.1677, 42.1061, 73.5087)
Luminance0.4210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DDD #8DEC9C
analogous
#CC8DEC #EC8DDD #EC8DAE
triadic
#EC8DDD #DDEC8D #8DDDEC
tetradic
#EC8DDD #ECCC8D #8DEC9C #8DAEEC
square
#EC8DDD #ECCC8D #8DEC9C #8DAEEC
split-complementary
#EC8DDD #AEEC8D #8DECCC
monochromatic
#DA24BE #E359CD #EC8DDD #F5C1ED #FBE5F7

Accessibility & contrast

On white

2.23
#EC8DDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#EC8DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DDD
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DDD#FFFFFF#000000##000000
##EC8DDD1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA5E0
Deuteranopia (green-blind)
#A4B3DA
Tritanopia (blue-blind)
#F492AB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec8ddd;
/* rgb */ color: rgb(236, 141, 221);
/* oklch */ color: oklch(76.9% 0.152 332.9);
Tailwind
colors: {
  custom: {
    50: '#f4b0e7',
    500: '#ec8ddd',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ddd;
$custom-light: #f4b0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ddd",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 221
  },
  "hsl": {
    "h": 309.474,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76853,
    "c": 0.15161,
    "h": 332.9
  },
  "luminance": 0.42103
}

Semantic roles & 50–950 ramp

primary
#EC8DDD
secondary
#D9F2DD
accent
#D33112
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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