#EC8CEE#EC8CEE

#EC8CEE is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.4% C 0.169 H 326.3°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#EC8CEE
RGBrgb(236, 140, 238)
HSLhsl(299, 74%, 74%)
HSVhsv(299, 41%, 93%)
CMYKcmyk(0.8%, 41.2%, 0%, 6.7%)
CIE-LABlab(71.39, 50.78, -34.19)
CIE-LCHlch(71.39, 61.22, 326.05°)
OKLaboklab(77.41% 0.1403 -0.0934)
OKLCHoklch(77.41% 0.169 326.3)
XYZxyz(59.4015, 42.7648, 85.9978)
Luminance0.4276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CEE #8EEE8C
analogous
#BB8CEE #EC8CEE #EE8CBF
triadic
#EC8CEE #EEEC8C #8CEEEC
tetradic
#EC8CEE #EEBB8C #8EEE8C #8CBFEE
square
#EC8CEE #EEBB8C #8EEE8C #8CBFEE
split-complementary
#EC8CEE #BFEE8C #8CEEBB
monochromatic
#DA21DE #E357E6 #EC8CEE #F5C1F6 #FBE4FB

Accessibility & contrast

On white

2.20
#EC8CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#EC8CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CEE
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CEE#FFFFFF#000000##000000
##EC8CEE1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F1
Deuteranopia (green-blind)
#9DB3EB
Tritanopia (blue-blind)
#F196B2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec8cee;
/* rgb */ color: rgb(236, 140, 238);
/* oklch */ color: oklch(77.4% 0.169 326.3);
Tailwind
colors: {
  custom: {
    50: '#f4b0f4',
    500: '#ec8cee',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cee;
$custom-light: #f4b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cee",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 298.776,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77406,
    "c": 0.16853,
    "h": 326.3
  },
  "luminance": 0.42762
}

Semantic roles & 50–950 ramp

primary
#EC8CEE
secondary
#D9F3D8
accent
#D60F13
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC8CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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