#EC8AEB#EC8AEB

#EC8AEB is a light, vivid purple. Relative luminance 0.420; OKLCH L 77.0% C 0.169 H 327.4°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#EC8AEB
RGBrgb(236, 138, 235)
HSLhsl(301, 72%, 73%)
HSVhsv(301, 42%, 93%)
CMYKcmyk(0%, 41.5%, 0.4%, 7.5%)
CIE-LABlab(70.88, 51.26, -33.35)
CIE-LCHlch(70.88, 61.15, 326.95°)
OKLaboklab(76.98% 0.1425 -0.091)
OKLCHoklch(76.98% 0.169 327.4)
XYZxyz(58.6749, 42.0108, 83.5994)
Luminance0.4201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8AEB #8AEC8B
analogous
#BC8AEC #EC8AEB #EC8ABA
triadic
#EC8AEB #EBEC8A #8AEBEC
tetradic
#EC8AEB #ECBC8A #8AEC8B #8ABAEC
square
#EC8AEB #ECBC8A #8AEC8B #8ABAEC
split-complementary
#EC8AEB #BAEC8A #8AECBC
monochromatic
#D823D7 #E355E2 #EC8AEB #F5BFF4 #FBE5FB

Accessibility & contrast

On white

2.23
#EC8AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#EC8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8AEB
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8AEB#FFFFFF#000000##000000
##EC8AEB1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EE
Deuteranopia (green-blind)
#9DB2E8
Tritanopia (blue-blind)
#F293B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec8aeb;
/* rgb */ color: rgb(236, 138, 235);
/* oklch */ color: oklch(77.0% 0.169 327.4);
Tailwind
colors: {
  custom: {
    50: '#f4aef1',
    500: '#ec8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ec8aeb;
$custom-light: #f4aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8aeb",
  "rgb": {
    "r": 236,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 300.612,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7698,
    "c": 0.16907,
    "h": 327.4
  },
  "luminance": 0.42008
}

Semantic roles & 50–950 ramp

primary
#EC8AEB
secondary
#D9F2D9
accent
#D41311
background
#FFFAFE
surface
#FEF5FD
border
#D6CFD5
text
#171017
muted
#857F85

Preview Lab

Preview with #EC8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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