#EC8DE2#EC8DE2

#EC8DE2 is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.1% C 0.156 H 330.8°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#EC8DE2
RGBrgb(236, 141, 226)
HSLhsl(306, 71%, 74%)
HSVhsv(306, 40%, 93%)
CMYKcmyk(0%, 40.3%, 4.2%, 7.5%)
CIE-LABlab(71.13, 48.16, -28.02)
CIE-LCHlch(71.13, 55.71, 329.81°)
OKLaboklab(77.05% 0.1362 -0.076)
OKLCHoklch(77.05% 0.156 330.8)
XYZxyz(57.8438, 42.3765, 77.0694)
Luminance0.4237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DE2 #8DEC97
analogous
#C78DEC #EC8DE2 #EC8DB3
triadic
#EC8DE2 #E2EC8D #8DE2EC
tetradic
#EC8DE2 #ECC78D #8DEC97 #8DB3EC
square
#EC8DE2 #ECC78D #8DEC97 #8DB3EC
split-complementary
#EC8DE2 #B3EC8D #8DECC7
monochromatic
#DA24C7 #E359D5 #EC8DE2 #F5C1EF #FBE5F8

Accessibility & contrast

On white

2.22
#EC8DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#EC8DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DE2
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DE2#FFFFFF#000000##000000
##EC8DE21.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA6E5
Deuteranopia (green-blind)
#A3B3DF
Tritanopia (blue-blind)
#F394AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec8de2;
/* rgb */ color: rgb(236, 141, 226);
/* oklch */ color: oklch(77.1% 0.156 330.8);
Tailwind
colors: {
  custom: {
    50: '#f4b0eb',
    500: '#ec8de2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8de2;
$custom-light: #f4b0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8de2",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 226
  },
  "hsl": {
    "h": 306.316,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77054,
    "c": 0.15594,
    "h": 330.8
  },
  "luminance": 0.42374
}

Semantic roles & 50–950 ramp

primary
#EC8DE2
secondary
#D9F2DB
accent
#D32612
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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