#EC8EE4#EC8EE4

#EC8EE4 is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.3% C 0.156 H 330.1°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#EC8EE4
RGBrgb(236, 142, 228)
HSLhsl(305, 71%, 74%)
HSVhsv(305, 40%, 93%)
CMYKcmyk(0%, 39.8%, 3.4%, 7.5%)
CIE-LABlab(71.41, 47.99, -28.69)
CIE-LCHlch(71.41, 55.91, 329.13°)
OKLaboklab(77.29% 0.1352 -0.0779)
OKLCHoklch(77.29% 0.156 330.1)
XYZxyz(58.2679, 42.7832, 78.5725)
Luminance0.4278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EE4 #8EEC96
analogous
#C58EEC #EC8EE4 #EC8EB5
triadic
#EC8EE4 #E4EC8E #8EE4EC
tetradic
#EC8EE4 #ECC58E #8EEC96 #8EB5EC
square
#EC8EE4 #ECC58E #8EEC96 #8EB5EC
split-complementary
#EC8EE4 #B5EC8E #8EECC5
monochromatic
#DA25CB #E35AD7 #EC8EE4 #F5C2F1 #FBE5F9

Accessibility & contrast

On white

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

On black

9.56
#EC8EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EE4
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EE4#FFFFFF#000000##000000
##EC8EE41.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA7E7
Deuteranopia (green-blind)
#A3B4E1
Tritanopia (blue-blind)
#F395AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec8ee4;
/* rgb */ color: rgb(236, 142, 228);
/* oklch */ color: oklch(77.3% 0.156 330.1);
Tailwind
colors: {
  custom: {
    50: '#f4b1ec',
    500: '#ec8ee4',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ee4;
$custom-light: #f4b1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ee4",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 305.106,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77287,
    "c": 0.15602,
    "h": 330.1
  },
  "luminance": 0.4278
}

Semantic roles & 50–950 ramp

primary
#EC8EE4
secondary
#D9F2DB
accent
#D32312
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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