#EC89ED#EC89ED

#EC89ED is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.9% C 0.173 H 326.7°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#EC89ED
RGBrgb(236, 137, 237)
HSLhsl(299, 74%, 73%)
HSVhsv(299, 42%, 93%)
CMYKcmyk(0.4%, 42.2%, 0%, 7.1%)
CIE-LABlab(70.76, 52.12, -34.63)
CIE-LCHlch(70.76, 62.58, 326.40°)
OKLaboklab(76.92% 0.1443 -0.0947)
OKLCHoklch(76.92% 0.173 326.7)
XYZxyz(58.8226, 41.8414, 85.0821)
Luminance0.4184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89ED #8AED89
analogous
#BA89ED #EC89ED #ED89BC
triadic
#EC89ED #EDEC89 #89EDEC
tetradic
#EC89ED #EDBA89 #8AED89 #89BCED
square
#EC89ED #EDBA89 #8AED89 #89BCED
split-complementary
#EC89ED #BCED89 #89EDBA
monochromatic
#D821DA #E354E5 #EC89ED #F5BEF5 #FBE4FB

Accessibility & contrast

On white

2.24
#EC89ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#EC89ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89ED
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89ED#FFFFFF#000000##000000
##EC89ED1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5F1
Deuteranopia (green-blind)
#9CB2EA
Tritanopia (blue-blind)
#F193B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec89ed;
/* rgb */ color: rgb(236, 137, 237);
/* oklch */ color: oklch(76.9% 0.173 326.7);
Tailwind
colors: {
  custom: {
    50: '#f4aef3',
    500: '#ec89ed',
    950: '#000000',
  },
}
SCSS
$custom: #ec89ed;
$custom-light: #f4aef3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89ed",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 237
  },
  "hsl": {
    "h": 299.4,
    "s": 73.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76919,
    "c": 0.17257,
    "h": 326.7
  },
  "luminance": 0.41839
}

Semantic roles & 50–950 ramp

primary
#EC89ED
secondary
#D9F3D8
accent
#D61012
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC89ED

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

Preview Lab → · Contrast checker → · Palette generator →

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