#EC8BEE#EC8BEE

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

Color values

HEX#EC8BEE
RGBrgb(236, 139, 238)
HSLhsl(299, 74%, 74%)
HSVhsv(299, 42%, 93%)
CMYKcmyk(0.8%, 41.6%, 0%, 6.7%)
CIE-LABlab(71.20, 51.29, -34.50)
CIE-LCHlch(71.20, 61.81, 326.07°)
OKLaboklab(77.26% 0.1417 -0.0943)
OKLCHoklch(77.26% 0.17 326.3)
XYZxyz(59.2561, 42.4739, 85.9494)
Luminance0.4247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8BEE #8DEE8B
analogous
#BB8BEE #EC8BEE #EE8BBF
triadic
#EC8BEE #EEEC8B #8BEEEC
tetradic
#EC8BEE #EEBB8B #8DEE8B #8BBFEE
square
#EC8BEE #EEBB8B #8DEE8B #8BBFEE
split-complementary
#EC8BEE #BFEE8B #8BEEBB
monochromatic
#DA21DE #E356E6 #EC8BEE #F5C0F6 #FBE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC8BEE#FFFFFF#000000##000000
##EC8BEE1.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)
#82A7F2
Deuteranopia (green-blind)
#9DB3EB
Tritanopia (blue-blind)
#F195B1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec8bee;
/* rgb */ color: rgb(236, 139, 238);
/* oklch */ color: oklch(77.3% 0.170 326.3);
Tailwind
colors: {
  custom: {
    50: '#f4aff4',
    500: '#ec8bee',
    950: '#000000',
  },
}
SCSS
$custom: #ec8bee;
$custom-light: #f4aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8bee",
  "rgb": {
    "r": 236,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 298.788,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77257,
    "c": 0.17018,
    "h": 326.3
  },
  "luminance": 0.42471
}

Semantic roles & 50–950 ramp

primary
#EC8BEE
secondary
#D9F3D8
accent
#D70F13
background
#FFFAFE
surface
#FEF5FD
border
#D6CFD5
text
#171117
muted
#858085

Preview Lab

Preview with #EC8BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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