#EC89DE#EC89DE

#EC89DE is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.3% C 0.159 H 332.4°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#EC89DE
RGBrgb(236, 137, 222)
HSLhsl(308, 72%, 73%)
HSVhsv(308, 42%, 93%)
CMYKcmyk(0%, 41.9%, 5.9%, 7.5%)
CIE-LABlab(70.18, 49.51, -27.28)
CIE-LCHlch(70.18, 56.53, 331.15°)
OKLaboklab(76.29% 0.1411 -0.0738)
OKLCHoklch(76.29% 0.159 332.4)
XYZxyz(56.7221, 41.0012, 74.0194)
Luminance0.4100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89DE #89EC97
analogous
#C889EC #EC89DE #EC89AC
triadic
#EC89DE #DEEC89 #89DEEC
tetradic
#EC89DE #ECC889 #89EC97 #89ACEC
square
#EC89DE #ECC889 #89EC97 #89ACEC
split-complementary
#EC89DE #ACEC89 #89ECC8
monochromatic
#D823BE #E454CF #EC89DE #F4BEED #FBE5F8

Accessibility & contrast

On white

2.28
#EC89DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#EC89DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89DE
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89DE#FFFFFF#000000##000000
##EC89DE1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A3E1
Deuteranopia (green-blind)
#A1B1DB
Tritanopia (blue-blind)
#F48FA9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec89de;
/* rgb */ color: rgb(236, 137, 222);
/* oklch */ color: oklch(76.3% 0.159 332.4);
Tailwind
colors: {
  custom: {
    50: '#f4aee8',
    500: '#ec89de',
    950: '#000000',
  },
}
SCSS
$custom: #ec89de;
$custom-light: #f4aee8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89de",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 222
  },
  "hsl": {
    "h": 308.485,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76289,
    "c": 0.15922,
    "h": 332.4
  },
  "luminance": 0.40998
}

Semantic roles & 50–950 ramp

primary
#EC89DE
secondary
#D9F2DC
accent
#D42D11
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC89DE

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

Preview Lab → · Contrast checker → · Palette generator →

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