#EC8EF9#EC8EF9

#EC8EF9 is a light, vivid purple. Relative luminance 0.440; OKLCH L 78.2% C 0.176 H 322.6°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#EC8EF9
RGBrgb(236, 142, 249)
HSLhsl(293, 90%, 77%)
HSVhsv(293, 43%, 98%)
CMYKcmyk(5.2%, 43%, 0%, 2.4%)
CIE-LABlab(72.24, 51.78, -38.88)
CIE-LCHlch(72.24, 64.76, 323.10°)
OKLaboklab(78.19% 0.1396 -0.1068)
OKLCHoklch(78.19% 0.176 322.6)
XYZxyz(61.3621, 44.0209, 94.8688)
Luminance0.4402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8EF9 #9BF98E
analogous
#B78EF9 #EC8EF9 #F98ED1
triadic
#EC8EF9 #F9EC8E #8EF9EC
tetradic
#EC8EF9 #F9B78E #9BF98E #8ED1F9
square
#EC8EF9 #F9B78E #9BF98E #8ED1F9
split-complementary
#EC8EF9 #D1F98E #8EF9B7
monochromatic
#D81AF3 #E254F6 #EC8EF9 #F6C8FC #FAE2FD

Accessibility & contrast

On white

2.14
#EC8EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#EC8EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8EF9
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8EF9#FFFFFF#000000##000000
##EC8EF91.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFD
Deuteranopia (green-blind)
#9AB5F6
Tritanopia (blue-blind)
#EF9BB8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec8ef9;
/* rgb */ color: rgb(236, 142, 249);
/* oklch */ color: oklch(78.2% 0.176 322.6);
Tailwind
colors: {
  custom: {
    50: '#f4b1fb',
    500: '#ec8ef9',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ef9;
$custom-light: #f4b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ef9",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 292.71,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.78187,
    "c": 0.17576,
    "h": 322.6
  },
  "luminance": 0.44018
}

Semantic roles & 50–950 ramp

primary
#EC8EF9
secondary
#D9F6D5
accent
#E6001C
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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