#EC8EF4#EC8EF4

#EC8EF4 is a light, vivid purple. Relative luminance 0.437; OKLCH L 78.0% C 0.171 H 324.2°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#EC8EF4
RGBrgb(236, 142, 244)
HSLhsl(295, 82%, 76%)
HSVhsv(295, 42%, 96%)
CMYKcmyk(3.3%, 41.8%, 0%, 4.3%)
CIE-LABlab(72.04, 50.86, -36.48)
CIE-LCHlch(72.04, 62.59, 324.35°)
OKLaboklab(77.96% 0.1386 -0.1)
OKLCHoklch(77.96% 0.171 324.2)
XYZxyz(60.5926, 43.7131, 90.8162)
Luminance0.4371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EF4 #96F48E
analogous
#B98EF4 #EC8EF4 #F48EC9
triadic
#EC8EF4 #F4EC8E #8EF4EC
tetradic
#EC8EF4 #F4B98E #96F48E #8EC9F4
square
#EC8EF4 #F4B98E #96F48E #8EC9F4
split-complementary
#EC8EF4 #C9F48E #8EF4B9
monochromatic
#D91EE9 #E356EF #EC8EF4 #F5C6F9 #FAE3FC

Accessibility & contrast

On white

2.16
#EC8EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#EC8EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EF4
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EF4#FFFFFF#000000##000000
##EC8EF41.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A9F8
Deuteranopia (green-blind)
#9CB5F1
Tritanopia (blue-blind)
#F099B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec8ef4;
/* rgb */ color: rgb(236, 142, 244);
/* oklch */ color: oklch(78.0% 0.171 324.2);
Tailwind
colors: {
  custom: {
    50: '#f4b1f8',
    500: '#ec8ef4',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ef4;
$custom-light: #f4b1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ef4",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 295.294,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77965,
    "c": 0.1709,
    "h": 324.2
  },
  "luminance": 0.43711
}

Semantic roles & 50–950 ramp

primary
#EC8EF4
secondary
#D9F4D7
accent
#DF0718
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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