#EC89EC#EC89EC

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

Color values

HEX#EC89EC
RGBrgb(236, 137, 236)
HSLhsl(300, 72%, 73%)
HSVhsv(300, 42%, 93%)
CMYKcmyk(0%, 41.9%, 0%, 7.5%)
CIE-LABlab(70.72, 51.94, -34.14)
CIE-LCHlch(70.72, 62.16, 326.69°)
OKLaboklab(76.88% 0.1441 -0.0933)
OKLCHoklch(76.88% 0.172 327.1)
XYZxyz(58.6769, 41.7831, 84.3148)
Luminance0.4178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89EC #89EC89
analogous
#BA89EC #EC89EC #EC89BA
triadic
#EC89EC #ECEC89 #89ECEC
tetradic
#EC89EC #ECBA89 #89EC89 #89BAEC
square
#EC89EC #ECBA89 #89EC89 #89BAEC
split-complementary
#EC89EC #BAEC89 #89ECBA
monochromatic
#D823D8 #E454E4 #EC89EC #F4BEF4 #FBE5FB

Accessibility & contrast

On white

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

On black

9.36
#EC89EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89EC
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89EC#FFFFFF#000000##000000
##EC89EC1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EF
Deuteranopia (green-blind)
#9CB2E9
Tritanopia (blue-blind)
#F293B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec89ec;
/* rgb */ color: rgb(236, 137, 236);
/* oklch */ color: oklch(76.9% 0.172 327.1);
Tailwind
colors: {
  custom: {
    50: '#f4aef2',
    500: '#ec89ec',
    950: '#000000',
  },
}
SCSS
$custom: #ec89ec;
$custom-light: #f4aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89ec",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 300,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76876,
    "c": 0.17164,
    "h": 327.1
  },
  "luminance": 0.4178
}

Semantic roles & 50–950 ramp

primary
#EC89EC
secondary
#D9F2D9
accent
#D41111
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC89EC

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

Preview Lab → · Contrast checker → · Palette generator →

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