#EC8DF8#EC8DF8

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

Color values

HEX#EC8DF8
RGBrgb(236, 141, 248)
HSLhsl(293, 88%, 76%)
HSVhsv(293, 43%, 97%)
CMYKcmyk(4.8%, 43.1%, 0%, 2.7%)
CIE-LABlab(72.00, 52.11, -38.71)
CIE-LCHlch(72.00, 64.91, 323.39°)
OKLaboklab(77.99% 0.1408 -0.1063)
OKLCHoklch(77.99% 0.176 322.9)
XYZxyz(61.0585, 43.6624, 94.0002)
Luminance0.4366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DF8 #99F88D
analogous
#B78DF8 #EC8DF8 #F88DCF
triadic
#EC8DF8 #F8EC8D #8DF8EC
tetradic
#EC8DF8 #F8B78D #99F88D #8DCFF8
square
#EC8DF8 #F8B78D #99F88D #8DCFF8
split-complementary
#EC8DF8 #CFF88D #8DF8B7
monochromatic
#D91AF1 #E253F4 #EC8DF8 #F6C7FC #FAE2FD

Accessibility & contrast

On white

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

On black

9.73
#EC8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DF8
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DF8#FFFFFF#000000##000000
##EC8DF81.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FC
Deuteranopia (green-blind)
#9AB4F5
Tritanopia (blue-blind)
#EF99B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec8df8;
/* rgb */ color: rgb(236, 141, 248);
/* oklch */ color: oklch(78.0% 0.176 322.9);
Tailwind
colors: {
  custom: {
    50: '#f4b1fb',
    500: '#ec8df8',
    950: '#000000',
  },
}
SCSS
$custom: #ec8df8;
$custom-light: #f4b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8df8",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 293.271,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77994,
    "c": 0.17642,
    "h": 322.9
  },
  "luminance": 0.4366
}

Semantic roles & 50–950 ramp

primary
#EC8DF8
secondary
#D9F5D6
accent
#E5001A
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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