#EC9DFF#EC9DFF

#EC9DFF is a light, vivid purple. Relative luminance 0.492; OKLCH L 80.8% C 0.157 H 319.7°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#EC9DFF
RGBrgb(236, 157, 255)
HSLhsl(288, 100%, 81%)
HSVhsv(288, 38%, 100%)
CMYKcmyk(7.5%, 38.4%, 0%, 0%)
CIE-LABlab(75.56, 45.19, -36.98)
CIE-LCHlch(75.56, 58.40, 320.70°)
OKLaboklab(80.75% 0.1196 -0.1015)
OKLCHoklch(80.75% 0.157 319.7)
XYZxyz(64.6967, 49.1688, 100.6709)
Luminance0.4917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9DFF #B0FF9D
analogous
#BB9DFF #EC9DFF #FF9DE1
triadic
#EC9DFF #FFEC9D #9DFFEC
tetradic
#EC9DFF #FFBB9D #B0FF9D #9DE1FF
square
#EC9DFF #FFBB9D #B0FF9D #9DE1FF
split-complementary
#EC9DFF #E1FF9D #9DFFBB
monochromatic
#D423FF #E060FF #EC9DFF #F8DAFF #F9E0FF

Accessibility & contrast

On white

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

On black

10.83
#EC9DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9DFF
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9DFF#FFFFFF#000000##000000
##EC9DFF1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec9dff;
/* rgb */ color: rgb(236, 157, 255);
/* oklch */ color: oklch(80.8% 0.157 319.7);
Tailwind
colors: {
  custom: {
    50: '#f3bbff',
    500: '#ec9dff',
    950: '#000000',
  },
}
SCSS
$custom: #ec9dff;
$custom-light: #f3bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9dff",
  "rgb": {
    "r": 236,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 288.367,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.80752,
    "c": 0.1569,
    "h": 319.7
  },
  "luminance": 0.49167
}

Semantic roles & 50–950 ramp

primary
#EC9DFF
secondary
#DBF7D4
accent
#E6002C
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171218
muted
#858186

Preview Lab

Preview with #EC9DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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