#EC89EA#EC89EA

#EC89EA is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.8% C 0.170 H 327.8°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#EC89EA
RGBrgb(236, 137, 234)
HSLhsl(301, 72%, 73%)
HSVhsv(301, 42%, 93%)
CMYKcmyk(0%, 41.9%, 0.8%, 7.5%)
CIE-LABlab(70.64, 51.59, -33.17)
CIE-LCHlch(70.64, 61.33, 327.26°)
OKLaboklab(76.79% 0.1437 -0.0905)
OKLCHoklch(76.79% 0.17 327.8)
XYZxyz(58.3880, 41.6676, 82.7931)
Luminance0.4167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89EA #89EC8B
analogous
#BC89EC #EC89EA #EC89B8
triadic
#EC89EA #EAEC89 #89EAEC
tetradic
#EC89EA #ECBC89 #89EC8B #89B8EC
square
#EC89EA #ECBC89 #89EC8B #89B8EC
split-complementary
#EC89EA #B8EC89 #89ECBC
monochromatic
#D823D4 #E454E1 #EC89EA #F4BEF3 #FBE5FA

Accessibility & contrast

On white

2.25
#EC89EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#EC89EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89EA
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89EA#FFFFFF#000000##000000
##EC89EA1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5ED
Deuteranopia (green-blind)
#9DB1E7
Tritanopia (blue-blind)
#F292AF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec89ea;
/* rgb */ color: rgb(236, 137, 234);
/* oklch */ color: oklch(76.8% 0.170 327.8);
Tailwind
colors: {
  custom: {
    50: '#f4aef1',
    500: '#ec89ea',
    950: '#000000',
  },
}
SCSS
$custom: #ec89ea;
$custom-light: #f4aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89ea",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 234
  },
  "hsl": {
    "h": 301.212,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76789,
    "c": 0.16982,
    "h": 327.8
  },
  "luminance": 0.41665
}

Semantic roles & 50–950 ramp

primary
#EC89EA
secondary
#D9F2D9
accent
#D41511
background
#FFFAFE
surface
#FEF5FD
border
#D6CFD5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC89EA

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

Preview Lab → · Contrast checker → · Palette generator →

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