#EC88EC#EC88EC

#EC88EC is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.7% C 0.173 H 327.1°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#EC88EC
RGBrgb(236, 136, 236)
HSLhsl(300, 72%, 73%)
HSVhsv(300, 42%, 93%)
CMYKcmyk(0%, 42.4%, 0%, 7.5%)
CIE-LABlab(70.53, 52.45, -34.44)
CIE-LCHlch(70.53, 62.75, 326.71°)
OKLaboklab(76.73% 0.1455 -0.0941)
OKLCHoklch(76.73% 0.173 327.1)
XYZxyz(58.5355, 41.5002, 84.2677)
Luminance0.4150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC88EC #88EC88
analogous
#BA88EC #EC88EC #EC88BA
triadic
#EC88EC #ECEC88 #88ECEC
tetradic
#EC88EC #ECBA88 #88EC88 #88BAEC
square
#EC88EC #ECBA88 #88EC88 #88BAEC
split-complementary
#EC88EC #BAEC88 #88ECBA
monochromatic
#D722D7 #E453E4 #EC88EC #F4BDF4 #FBE5FB

Accessibility & contrast

On white

2.26
#EC88EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#EC88EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC88EC
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC88EC#FFFFFF#000000##000000
##EC88EC1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4F0
Deuteranopia (green-blind)
#9BB1E9
Tritanopia (blue-blind)
#F292AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec88ec;
/* rgb */ color: rgb(236, 136, 236);
/* oklch */ color: oklch(76.7% 0.173 327.1);
Tailwind
colors: {
  custom: {
    50: '#f4adf2',
    500: '#ec88ec',
    950: '#000000',
  },
}
SCSS
$custom: #ec88ec;
$custom-light: #f4adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec88ec",
  "rgb": {
    "r": 236,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 300,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76729,
    "c": 0.17329,
    "h": 327.1
  },
  "luminance": 0.41497
}

Semantic roles & 50–950 ramp

primary
#EC88EC
secondary
#D9F2D9
accent
#D51111
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC88EC

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

Preview Lab → · Contrast checker → · Palette generator →

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