#EC89FC#EC89FC

#EC89FC is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.6% C 0.187 H 321.9°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#EC89FC
RGBrgb(236, 137, 252)
HSLhsl(292, 95%, 76%)
HSVhsv(292, 46%, 99%)
CMYKcmyk(6.3%, 45.6%, 0%, 1.2%)
CIE-LABlab(71.39, 54.86, -41.85)
CIE-LCHlch(71.39, 69.00, 322.67°)
OKLaboklab(77.59% 0.147 -0.1153)
OKLCHoklch(77.59% 0.187 321.9)
XYZxyz(61.1065, 42.7549, 97.1103)
Luminance0.4275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89FC #99FC89
analogous
#B389FC #EC89FC #FC89D3
triadic
#EC89FC #FCEC89 #89FCEC
tetradic
#EC89FC #FCB389 #99FC89 #89D3FC
square
#EC89FC #FCB389 #99FC89 #89D3FC
split-complementary
#EC89FC #D3FC89 #89FCB3
monochromatic
#D912F9 #E24DFA #EC89FC #F6C5FE #FAE1FE

Accessibility & contrast

On white

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

On black

9.55
#EC89FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89FC
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89FC#FFFFFF#000000##000000
##EC89FC1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#95B3F9
Tritanopia (blue-blind)
#EF97B7
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec89fc;
/* rgb */ color: rgb(236, 137, 252);
/* oklch */ color: oklch(77.6% 0.187 321.9);
Tailwind
colors: {
  custom: {
    50: '#f4aefd',
    500: '#ec89fc',
    950: '#000000',
  },
}
SCSS
$custom: #ec89fc;
$custom-light: #f4aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89fc",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 291.652,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77592,
    "c": 0.1868,
    "h": 321.9
  },
  "luminance": 0.42752
}

Semantic roles & 50–950 ramp

primary
#EC89FC
secondary
#D9F6D5
accent
#E60020
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171018
muted
#857F86

Preview Lab

Preview with #EC89FC

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

Preview Lab → · Contrast checker → · Palette generator →

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