#EC88FE#EC88FE

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

Color values

HEX#EC88FE
RGBrgb(236, 136, 254)
HSLhsl(291, 98%, 76%)
HSVhsv(291, 46%, 100%)
CMYKcmyk(7.1%, 46.5%, 0%, 0.4%)
CIE-LABlab(71.28, 55.74, -43.10)
CIE-LCHlch(71.28, 70.46, 322.29°)
OKLaboklab(77.54% 0.1486 -0.1189)
OKLCHoklch(77.54% 0.19 321.3)
XYZxyz(61.2836, 42.5994, 98.7411)
Luminance0.4260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC88FE #9AFE88
analogous
#B188FE #EC88FE #FE88D5
triadic
#EC88FE #FEEC88 #88FEEC
tetradic
#EC88FE #FEB188 #9AFE88 #88D5FE
square
#EC88FE #FEB188 #9AFE88 #88D5FE
split-complementary
#EC88FE #D5FE88 #88FEB1
monochromatic
#D90FFD #E24BFD #EC88FE #F6C5FF #FAE1FF

Accessibility & contrast

On white

2.21
#EC88FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#EC88FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC88FE
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC88FE#FFFFFF#000000##000000
##EC88FE1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#94B2FB
Tritanopia (blue-blind)
#EE97B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec88fe;
/* rgb */ color: rgb(236, 136, 254);
/* oklch */ color: oklch(77.5% 0.190 321.3);
Tailwind
colors: {
  custom: {
    50: '#f4adff',
    500: '#ec88fe',
    950: '#000000',
  },
}
SCSS
$custom: #ec88fe;
$custom-light: #f4adff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec88fe",
  "rgb": {
    "r": 236,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 290.847,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77541,
    "c": 0.19035,
    "h": 321.3
  },
  "luminance": 0.42597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC88FE

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

Preview Lab → · Contrast checker → · Palette generator →

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