#EC88FC#EC88FC

#EC88FC is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.4% C 0.188 H 321.9°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#EC88FC
RGBrgb(236, 136, 252)
HSLhsl(292, 95%, 76%)
HSVhsv(292, 46%, 99%)
CMYKcmyk(6.3%, 46%, 0%, 1.2%)
CIE-LABlab(71.20, 55.36, -42.15)
CIE-LCHlch(71.20, 69.58, 322.72°)
OKLaboklab(77.45% 0.1483 -0.1162)
OKLCHoklch(77.45% 0.188 321.9)
XYZxyz(60.9650, 42.4720, 97.0632)
Luminance0.4247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC88FC #98FC88
analogous
#B288FC #EC88FC #FC88D2
triadic
#EC88FC #FCEC88 #88FCEC
tetradic
#EC88FC #FCB288 #98FC88 #88D2FC
square
#EC88FC #FCB288 #98FC88 #88D2FC
split-complementary
#EC88FC #D2FC88 #88FCB2
monochromatic
#D911F9 #E24CFA #EC88FC #F6C4FE #FAE1FE

Accessibility & contrast

On white

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

On black

9.49
#EC88FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC88FC
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC88FC#FFFFFF#000000##000000
##EC88FC1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#94B2F9
Tritanopia (blue-blind)
#EF96B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec88fc;
/* rgb */ color: rgb(236, 136, 252);
/* oklch */ color: oklch(77.4% 0.188 321.9);
Tailwind
colors: {
  custom: {
    50: '#f4adfd',
    500: '#ec88fc',
    950: '#000000',
  },
}
SCSS
$custom: #ec88fc;
$custom-light: #f4adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec88fc",
  "rgb": {
    "r": 236,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 291.724,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77448,
    "c": 0.18841,
    "h": 321.9
  },
  "luminance": 0.42469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC88FC

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

Preview Lab → · Contrast checker → · Palette generator →

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