#EC89FE#EC89FE

#EC89FE is a light, vivid purple. Relative luminance 0.429; OKLCH L 77.7% C 0.189 H 321.3°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#EC89FE
RGBrgb(236, 137, 254)
HSLhsl(291, 98%, 77%)
HSVhsv(291, 46%, 100%)
CMYKcmyk(7.1%, 46.1%, 0%, 0.4%)
CIE-LABlab(71.48, 55.24, -42.80)
CIE-LCHlch(71.48, 69.88, 322.23°)
OKLaboklab(77.69% 0.1473 -0.1181)
OKLCHoklch(77.69% 0.189 321.3)
XYZxyz(61.4251, 42.8824, 98.7883)
Luminance0.4288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89FE #9BFE89
analogous
#B289FE #EC89FE #FE89D6
triadic
#EC89FE #FEEC89 #89FEEC
tetradic
#EC89FE #FEB289 #9BFE89 #89D6FE
square
#EC89FE #FEB289 #9BFE89 #89D6FE
split-complementary
#EC89FE #D6FE89 #89FEB2
monochromatic
#D810FD #E24CFD #EC89FE #F6C6FF #FAE1FF

Accessibility & contrast

On white

2.19
#EC89FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#EC89FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89FE
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89FE#FFFFFF#000000##000000
##EC89FE1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#EE98B8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec89fe;
/* rgb */ color: rgb(236, 137, 254);
/* oklch */ color: oklch(77.7% 0.189 321.3);
Tailwind
colors: {
  custom: {
    50: '#f4aeff',
    500: '#ec89fe',
    950: '#000000',
  },
}
SCSS
$custom: #ec89fe;
$custom-light: #f4aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89fe",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 254
  },
  "hsl": {
    "h": 290.769,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77685,
    "c": 0.18875,
    "h": 321.3
  },
  "luminance": 0.4288
}

Semantic roles & 50–950 ramp

primary
#EC89FE
secondary
#D9F7D4
accent
#E60023
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171018
muted
#857F86

Preview Lab

Preview with #EC89FE

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

Preview Lab → · Contrast checker → · Palette generator →

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