#EC88FD#EC88FD

#EC88FD is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.5% C 0.189 H 321.6°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#EC88FD
RGBrgb(236, 136, 253)
HSLhsl(291, 97%, 76%)
HSVhsv(291, 46%, 99%)
CMYKcmyk(6.7%, 46.2%, 0%, 0.8%)
CIE-LABlab(71.24, 55.55, -42.62)
CIE-LCHlch(71.24, 70.02, 322.50°)
OKLaboklab(77.49% 0.1485 -0.1175)
OKLCHoklch(77.49% 0.189 321.6)
XYZxyz(61.1239, 42.5355, 97.8999)
Luminance0.4253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC88FD #99FD88
analogous
#B288FD #EC88FD #FD88D4
triadic
#EC88FD #FDEC88 #88FDEC
tetradic
#EC88FD #FDB288 #99FD88 #88D4FD
square
#EC88FD #FDB288 #99FD88 #88D4FD
split-complementary
#EC88FD #D4FD88 #88FDB2
monochromatic
#D910FB #E24CFC #EC88FD #F6C4FE #FAE1FE

Accessibility & contrast

On white

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

On black

9.51
#EC88FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC88FD
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC88FD#FFFFFF#000000##000000
##EC88FD1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec88fd;
/* rgb */ color: rgb(236, 136, 253);
/* oklch */ color: oklch(77.5% 0.189 321.6);
Tailwind
colors: {
  custom: {
    50: '#f4adfe',
    500: '#ec88fd',
    950: '#000000',
  },
}
SCSS
$custom: #ec88fd;
$custom-light: #f4adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec88fd",
  "rgb": {
    "r": 236,
    "g": 136,
    "b": 253
  },
  "hsl": {
    "h": 291.282,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77494,
    "c": 0.18938,
    "h": 321.6
  },
  "luminance": 0.42533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC88FD

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

Preview Lab → · Contrast checker → · Palette generator →

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