#EC89E2#EC89E2

#EC89E2 is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.5% C 0.163 H 330.8°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#EC89E2
RGBrgb(236, 137, 226)
HSLhsl(306, 72%, 73%)
HSVhsv(306, 42%, 93%)
CMYKcmyk(0%, 41.9%, 4.2%, 7.5%)
CIE-LABlab(70.33, 50.19, -29.25)
CIE-LCHlch(70.33, 58.09, 329.77°)
OKLaboklab(76.45% 0.142 -0.0794)
OKLCHoklch(76.45% 0.163 330.8)
XYZxyz(57.2646, 41.2182, 76.8764)
Luminance0.4122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89E2 #89EC93
analogous
#C589EC #EC89E2 #EC89B0
triadic
#EC89E2 #E2EC89 #89E2EC
tetradic
#EC89E2 #ECC589 #89EC93 #89B0EC
square
#EC89E2 #ECC589 #89EC93 #89B0EC
split-complementary
#EC89E2 #B0EC89 #89ECC5
monochromatic
#D823C6 #E454D5 #EC89E2 #F4BEEF #FBE5F9

Accessibility & contrast

On white

2.27
#EC89E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#EC89E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89E2
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89E2#FFFFFF#000000##000000
##EC89E21.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A3E5
Deuteranopia (green-blind)
#A0B1DF
Tritanopia (blue-blind)
#F390AB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec89e2;
/* rgb */ color: rgb(236, 137, 226);
/* oklch */ color: oklch(76.5% 0.163 330.8);
Tailwind
colors: {
  custom: {
    50: '#f4aeeb',
    500: '#ec89e2',
    950: '#000000',
  },
}
SCSS
$custom: #ec89e2;
$custom-light: #f4aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89e2",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 226
  },
  "hsl": {
    "h": 306.061,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76453,
    "c": 0.16268,
    "h": 330.8
  },
  "luminance": 0.41215
}

Semantic roles & 50–950 ramp

primary
#EC89E2
secondary
#D9F2DB
accent
#D42511
background
#FFFAFE
surface
#FEF5FD
border
#D6CFD5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC89E2

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

Preview Lab → · Contrast checker → · Palette generator →

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