#EC9DFD#EC9DFD

#EC9DFD is a light, vivid purple. Relative luminance 0.490; OKLCH L 80.7% C 0.155 H 320.3°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#EC9DFD
RGBrgb(236, 157, 253)
HSLhsl(289, 96%, 80%)
HSVhsv(289, 38%, 99%)
CMYKcmyk(6.7%, 37.9%, 0%, 0.8%)
CIE-LABlab(75.48, 44.81, -36.03)
CIE-LCHlch(75.48, 57.49, 321.20°)
OKLaboklab(80.67% 0.1192 -0.0988)
OKLCHoklch(80.67% 0.155 320.3)
XYZxyz(64.3765, 49.0407, 98.9841)
Luminance0.4904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9DFD #AEFD9D
analogous
#BC9DFD #EC9DFD #FD9DDE
triadic
#EC9DFD #FDEC9D #9DFDEC
tetradic
#EC9DFD #FDBC9D #AEFD9D #9DDEFD
square
#EC9DFD #FDBC9D #AEFD9D #9DDEFD
split-complementary
#EC9DFD #DEFD9D #9DFDBC
monochromatic
#D525FB #E061FC #EC9DFD #F8D9FE #F9E1FE

Accessibility & contrast

On white

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

On black

10.81
#EC9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9DFD
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9DFD#FFFFFF#000000##000000
##EC9DFD1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FF
Deuteranopia (green-blind)
#A5BDFA
Tritanopia (blue-blind)
#EEA8C1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ec9dfd;
/* rgb */ color: rgb(236, 157, 253);
/* oklch */ color: oklch(80.7% 0.155 320.3);
Tailwind
colors: {
  custom: {
    50: '#f3bbfe',
    500: '#ec9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #ec9dfd;
$custom-light: #f3bbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9dfd",
  "rgb": {
    "r": 236,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 289.375,
    "s": 96,
    "l": 80.392
  },
  "oklch": {
    "l": 0.80666,
    "c": 0.15482,
    "h": 320.3
  },
  "luminance": 0.49039
}

Semantic roles & 50–950 ramp

primary
#EC9DFD
secondary
#DAF7D4
accent
#E60029
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171218
muted
#858186

Preview Lab

Preview with #EC9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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