#EC88EE#EC88EE

#EC88EE is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.8% C 0.175 H 326.4°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#EC88EE
RGBrgb(236, 136, 238)
HSLhsl(299, 75%, 73%)
HSVhsv(299, 43%, 93%)
CMYKcmyk(0.8%, 42.9%, 0%, 6.7%)
CIE-LABlab(70.61, 52.80, -35.41)
CIE-LCHlch(70.61, 63.58, 326.15°)
OKLaboklab(76.82% 0.1459 -0.0969)
OKLCHoklch(76.82% 0.175 326.4)
XYZxyz(58.8276, 41.6170, 85.8065)
Luminance0.4161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC88EE #8AEE88
analogous
#B988EE #EC88EE #EE88BD
triadic
#EC88EE #EEEC88 #88EEEC
tetradic
#EC88EE #EEB988 #8AEE88 #88BDEE
square
#EC88EE #EEB988 #8AEE88 #88BDEE
split-complementary
#EC88EE #BDEE88 #88EEB9
monochromatic
#D81FDC #E352E6 #EC88EE #F5BEF6 #FBE4FB

Accessibility & contrast

On white

2.25
#EC88EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#EC88EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC88EE
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC88EE#FFFFFF#000000##000000
##EC88EE1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F2
Deuteranopia (green-blind)
#9AB1EB
Tritanopia (blue-blind)
#F192B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec88ee;
/* rgb */ color: rgb(236, 136, 238);
/* oklch */ color: oklch(76.8% 0.175 326.4);
Tailwind
colors: {
  custom: {
    50: '#f4adf4',
    500: '#ec88ee',
    950: '#000000',
  },
}
SCSS
$custom: #ec88ee;
$custom-light: #f4adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec88ee",
  "rgb": {
    "r": 236,
    "g": 136,
    "b": 238
  },
  "hsl": {
    "h": 298.824,
    "s": 75,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76816,
    "c": 0.17514,
    "h": 326.4
  },
  "luminance": 0.41614
}

Semantic roles & 50–950 ramp

primary
#EC88EE
secondary
#D9F3D8
accent
#D70E12
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC88EE

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

Preview Lab → · Contrast checker → · Palette generator →

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