#EC89FA#EC89FA

#EC89FA is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.5% C 0.185 H 322.5°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#EC89FA
RGBrgb(236, 137, 250)
HSLhsl(293, 92%, 76%)
HSVhsv(293, 45%, 98%)
CMYKcmyk(5.6%, 45.2%, 0%, 2%)
CIE-LABlab(71.30, 54.49, -40.89)
CIE-LCHlch(71.30, 68.13, 323.12°)
OKLaboklab(77.5% 0.1466 -0.1126)
OKLCHoklch(77.5% 0.185 322.5)
XYZxyz(60.7912, 42.6288, 95.4500)
Luminance0.4263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89FA #97FA89
analogous
#B389FA #EC89FA #FA89D0
triadic
#EC89FA #FAEC89 #89FAEC
tetradic
#EC89FA #FAB389 #97FA89 #89D0FA
square
#EC89FA #FAB389 #97FA89 #89D0FA
split-complementary
#EC89FA #D0FA89 #89FAB3
monochromatic
#D914F5 #E34EF8 #EC89FA #F5C4FC #FAE2FE

Accessibility & contrast

On white

2.20
#EC89FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#EC89FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89FA
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89FA#FFFFFF#000000##000000
##EC89FA1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#96B3F7
Tritanopia (blue-blind)
#EF97B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec89fa;
/* rgb */ color: rgb(236, 137, 250);
/* oklch */ color: oklch(77.5% 0.185 322.5);
Tailwind
colors: {
  custom: {
    50: '#f4aefc',
    500: '#ec89fa',
    950: '#000000',
  },
}
SCSS
$custom: #ec89fa;
$custom-light: #f4aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89fa",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 292.566,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.775,
    "c": 0.18487,
    "h": 322.5
  },
  "luminance": 0.42626
}

Semantic roles & 50–950 ramp

primary
#EC89FA
secondary
#D9F6D5
accent
#E6001C
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC89FA

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

Preview Lab → · Contrast checker → · Palette generator →

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