#EC8DED#EC8DED

#EC8DED is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.5% C 0.166 H 326.7°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#EC8DED
RGBrgb(236, 141, 237)
HSLhsl(299, 73%, 74%)
HSVhsv(299, 41%, 93%)
CMYKcmyk(0.4%, 40.5%, 0%, 7.1%)
CIE-LABlab(71.55, 50.10, -33.40)
CIE-LCHlch(71.55, 60.21, 326.31°)
OKLaboklab(77.51% 0.1386 -0.0912)
OKLCHoklch(77.51% 0.166 326.7)
XYZxyz(59.4018, 42.9998, 85.2752)
Luminance0.4300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DED #8EED8D
analogous
#BC8DED #EC8DED #ED8DBE
triadic
#EC8DED #EDEC8D #8DEDEC
tetradic
#EC8DED #EDBC8D #8EED8D #8DBEED
square
#EC8DED #EDBC8D #8EED8D #8DBEED
split-complementary
#EC8DED #BEED8D #8DEDBC
monochromatic
#DA23DC #E358E5 #EC8DED #F5C2F5 #FBE5FB

Accessibility & contrast

On white

2.19
#EC8DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#EC8DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DED
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DED#FFFFFF#000000##000000
##EC8DED1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F0
Deuteranopia (green-blind)
#9EB4EA
Tritanopia (blue-blind)
#F196B2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec8ded;
/* rgb */ color: rgb(236, 141, 237);
/* oklch */ color: oklch(77.5% 0.166 326.7);
Tailwind
colors: {
  custom: {
    50: '#f4b0f3',
    500: '#ec8ded',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ded;
$custom-light: #f4b0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ded",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 299.375,
    "s": 72.727,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77512,
    "c": 0.16593,
    "h": 326.7
  },
  "luminance": 0.42997
}

Semantic roles & 50–950 ramp

primary
#EC8DED
secondary
#D9F2D9
accent
#D51113
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC8DED

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

Preview Lab → · Contrast checker → · Palette generator →

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