#EC8EE8#EC8EE8

#EC8EE8 is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.5% C 0.160 H 328.5°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#EC8EE8
RGBrgb(236, 142, 232)
HSLhsl(303, 71%, 74%)
HSVhsv(303, 40%, 93%)
CMYKcmyk(0%, 39.8%, 1.7%, 7.5%)
CIE-LABlab(71.56, 48.70, -30.65)
CIE-LCHlch(71.56, 57.54, 327.81°)
OKLaboklab(77.45% 0.1361 -0.0834)
OKLCHoklch(77.45% 0.16 328.5)
XYZxyz(58.8296, 43.0079, 81.5308)
Luminance0.4300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EE8 #8EEC92
analogous
#C18EEC #EC8EE8 #EC8EB9
triadic
#EC8EE8 #E8EC8E #8EE8EC
tetradic
#EC8EE8 #ECC18E #8EEC92 #8EB9EC
square
#EC8EE8 #ECC18E #8EEC92 #8EB9EC
split-complementary
#EC8EE8 #B9EC8E #8EECC1
monochromatic
#DA25D3 #E35ADD #EC8EE8 #F5C2F3 #FBE5FA

Accessibility & contrast

On white

2.19
#EC8EE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#EC8EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EE8
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EE8#FFFFFF#000000##000000
##EC8EE81.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A7EB
Deuteranopia (green-blind)
#A1B4E5
Tritanopia (blue-blind)
#F296B0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec8ee8;
/* rgb */ color: rgb(236, 142, 232);
/* oklch */ color: oklch(77.5% 0.160 328.5);
Tailwind
colors: {
  custom: {
    50: '#f4b1ef',
    500: '#ec8ee8',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ee8;
$custom-light: #f4b1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ee8",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 232
  },
  "hsl": {
    "h": 302.553,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77452,
    "c": 0.15963,
    "h": 328.5
  },
  "luminance": 0.43005
}

Semantic roles & 50–950 ramp

primary
#EC8EE8
secondary
#D9F2DA
accent
#D31A12
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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