#EC89DF#EC89DF

#EC89DF is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.3% C 0.160 H 332.0°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#EC89DF
RGBrgb(236, 137, 223)
HSLhsl(308, 72%, 73%)
HSVhsv(308, 42%, 93%)
CMYKcmyk(0%, 41.9%, 5.5%, 7.5%)
CIE-LABlab(70.21, 49.68, -27.77)
CIE-LCHlch(70.21, 56.91, 330.80°)
OKLaboklab(76.33% 0.1413 -0.0752)
OKLCHoklch(76.33% 0.16 332)
XYZxyz(56.8565, 41.0550, 74.7273)
Luminance0.4105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89DF #89EC96
analogous
#C789EC #EC89DF #EC89AD
triadic
#EC89DF #DFEC89 #89DFEC
tetradic
#EC89DF #ECC789 #89EC96 #89ADEC
square
#EC89DF #ECC789 #89EC96 #89ADEC
split-complementary
#EC89DF #ADEC89 #89ECC7
monochromatic
#D823C0 #E454D1 #EC89DF #F4BEED #FBE5F8

Accessibility & contrast

On white

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

On black

9.21
#EC89DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89DF
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89DF#FFFFFF#000000##000000
##EC89DF1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A3E2
Deuteranopia (green-blind)
#A1B1DC
Tritanopia (blue-blind)
#F48FAA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec89df;
/* rgb */ color: rgb(236, 137, 223);
/* oklch */ color: oklch(76.3% 0.160 332.0);
Tailwind
colors: {
  custom: {
    50: '#f4aee9',
    500: '#ec89df',
    950: '#000000',
  },
}
SCSS
$custom: #ec89df;
$custom-light: #f4aee9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89df",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 223
  },
  "hsl": {
    "h": 307.879,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7633,
    "c": 0.16007,
    "h": 332
  },
  "luminance": 0.41052
}

Semantic roles & 50–950 ramp

primary
#EC89DF
secondary
#D9F2DC
accent
#D42B11
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC89DF

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

Preview Lab → · Contrast checker → · Palette generator →

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