#EC88EB#EC88EB

#EC88EB is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.7% C 0.172 H 327.5°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#EC88EB
RGBrgb(236, 136, 235)
HSLhsl(301, 72%, 73%)
HSVhsv(301, 42%, 93%)
CMYKcmyk(0%, 42.4%, 0.4%, 7.5%)
CIE-LABlab(70.48, 52.27, -33.96)
CIE-LCHlch(70.48, 62.33, 326.99°)
OKLaboklab(76.69% 0.1453 -0.0927)
OKLCHoklch(76.69% 0.172 327.5)
XYZxyz(58.3906, 41.4422, 83.5047)
Luminance0.4144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC88EB #88EC89
analogous
#BB88EC #EC88EB #EC88B9
triadic
#EC88EB #EBEC88 #88EBEC
tetradic
#EC88EB #ECBB88 #88EC89 #88B9EC
square
#EC88EB #ECBB88 #88EC89 #88B9EC
split-complementary
#EC88EB #B9EC88 #88ECBB
monochromatic
#D722D5 #E453E2 #EC88EB #F4BDF4 #FBE5FB

Accessibility & contrast

On white

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

On black

9.29
#EC88EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC88EB
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC88EB#FFFFFF#000000##000000
##EC88EB1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec88eb;
/* rgb */ color: rgb(236, 136, 235);
/* oklch */ color: oklch(76.7% 0.172 327.5);
Tailwind
colors: {
  custom: {
    50: '#f4adf1',
    500: '#ec88eb',
    950: '#000000',
  },
}
SCSS
$custom: #ec88eb;
$custom-light: #f4adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec88eb",
  "rgb": {
    "r": 236,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 300.6,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76686,
    "c": 0.17239,
    "h": 327.5
  },
  "luminance": 0.41439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC88EB

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

Preview Lab → · Contrast checker → · Palette generator →

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