#EC8DDE#EC8DDE

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

Color values

HEX#EC8DDE
RGBrgb(236, 141, 222)
HSLhsl(309, 71%, 74%)
HSVhsv(309, 40%, 93%)
CMYKcmyk(0%, 40.3%, 5.9%, 7.5%)
CIE-LABlab(70.98, 47.47, -26.04)
CIE-LCHlch(70.98, 54.15, 331.25°)
OKLaboklab(76.89% 0.1352 -0.0704)
OKLCHoklch(76.89% 0.152 332.5)
XYZxyz(57.3013, 42.1596, 74.2125)
Luminance0.4216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DDE #8DEC9B
analogous
#CB8DEC #EC8DDE #EC8DAF
triadic
#EC8DDE #DEEC8D #8DDEEC
tetradic
#EC8DDE #ECCB8D #8DEC9B #8DAFEC
square
#EC8DDE #ECCB8D #8DEC9B #8DAFEC
split-complementary
#EC8DDE #AFEC8D #8DECCB
monochromatic
#DA24BF #E359CF #EC8DDE #F5C1ED #FBE5F7

Accessibility & contrast

On white

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

On black

9.43
#EC8DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DDE
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DDE#FFFFFF#000000##000000
##EC8DDE1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA5E1
Deuteranopia (green-blind)
#A4B3DB
Tritanopia (blue-blind)
#F493AC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec8dde;
/* rgb */ color: rgb(236, 141, 222);
/* oklch */ color: oklch(76.9% 0.152 332.5);
Tailwind
colors: {
  custom: {
    50: '#f4b0e8',
    500: '#ec8dde',
    950: '#000000',
  },
}
SCSS
$custom: #ec8dde;
$custom-light: #f4b0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8dde",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 222
  },
  "hsl": {
    "h": 308.842,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76893,
    "c": 0.15246,
    "h": 332.5
  },
  "luminance": 0.42157
}

Semantic roles & 50–950 ramp

primary
#EC8DDE
secondary
#D9F2DD
accent
#D32F12
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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