#EC9DFE#EC9DFE

#EC9DFE is a light, vivid purple. Relative luminance 0.491; OKLCH L 80.7% C 0.156 H 320.0°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#EC9DFE
RGBrgb(236, 157, 254)
HSLhsl(289, 98%, 81%)
HSVhsv(289, 38%, 100%)
CMYKcmyk(7.1%, 38.2%, 0%, 0.4%)
CIE-LABlab(75.52, 45.00, -36.51)
CIE-LCHlch(75.52, 57.94, 320.95°)
OKLaboklab(80.71% 0.1194 -0.1002)
OKLCHoklch(80.71% 0.156 320)
XYZxyz(64.5362, 49.1046, 99.8253)
Luminance0.4910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9DFE #AFFE9D
analogous
#BB9DFE #EC9DFE #FE9DDF
triadic
#EC9DFE #FEEC9D #9DFEEC
tetradic
#EC9DFE #FEBB9D #AFFE9D #9DDFFE
square
#EC9DFE #FEBB9D #AFFE9D #9DDFFE
split-complementary
#EC9DFE #DFFE9D #9DFEBB
monochromatic
#D524FD #E060FD #EC9DFE #F8DAFF #F9E1FF

Accessibility & contrast

On white

1.94
#EC9DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#EC9DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9DFE
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9DFE#FFFFFF#000000##000000
##EC9DFE1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B5FF
Deuteranopia (green-blind)
#A4BDFB
Tritanopia (blue-blind)
#EDA9C2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ec9dfe;
/* rgb */ color: rgb(236, 157, 254);
/* oklch */ color: oklch(80.7% 0.156 320.0);
Tailwind
colors: {
  custom: {
    50: '#f3bbff',
    500: '#ec9dfe',
    950: '#000000',
  },
}
SCSS
$custom: #ec9dfe;
$custom-light: #f3bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9dfe",
  "rgb": {
    "r": 236,
    "g": 157,
    "b": 254
  },
  "hsl": {
    "h": 288.866,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.80709,
    "c": 0.15586,
    "h": 320
  },
  "luminance": 0.49103
}

Semantic roles & 50–950 ramp

primary
#EC9DFE
secondary
#DBF7D4
accent
#E6002B
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171218
muted
#858186

Preview Lab

Preview with #EC9DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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