#EC9CFF#EC9CFF

#EC9CFF is a light, vivid purple. Relative luminance 0.488; OKLCH L 80.6% C 0.159 H 319.8°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#EC9CFF
RGBrgb(236, 156, 255)
HSLhsl(288, 100%, 81%)
HSVhsv(288, 39%, 100%)
CMYKcmyk(7.5%, 38.8%, 0%, 0%)
CIE-LABlab(75.35, 45.71, -37.31)
CIE-LCHlch(75.35, 59.01, 320.78°)
OKLaboklab(80.59% 0.121 -0.1024)
OKLCHoklch(80.59% 0.159 319.8)
XYZxyz(64.5282, 48.8318, 100.6147)
Luminance0.4883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9CFF #AFFF9C
analogous
#BA9CFF #EC9CFF #FF9CE0
triadic
#EC9CFF #FFEC9C #9CFFEC
tetradic
#EC9CFF #FFBA9C #AFFF9C #9CE0FF
square
#EC9CFF #FFBA9C #AFFF9C #9CE0FF
split-complementary
#EC9CFF #E0FF9C #9CFFBA
monochromatic
#D522FF #E05FFF #EC9CFF #F8D9FF #F9E0FF

Accessibility & contrast

On white

1.95
#EC9CFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#EC9CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9CFF
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9CFF#FFFFFF#000000##000000
##EC9CFF1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB4FF
Deuteranopia (green-blind)
#A3BDFC
Tritanopia (blue-blind)
#EDA8C2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ec9cff;
/* rgb */ color: rgb(236, 156, 255);
/* oklch */ color: oklch(80.6% 0.159 319.8);
Tailwind
colors: {
  custom: {
    50: '#f3baff',
    500: '#ec9cff',
    950: '#000000',
  },
}
SCSS
$custom: #ec9cff;
$custom-light: #f3baff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9cff",
  "rgb": {
    "r": 236,
    "g": 156,
    "b": 255
  },
  "hsl": {
    "h": 288.485,
    "s": 100,
    "l": 80.588
  },
  "oklch": {
    "l": 0.80594,
    "c": 0.15857,
    "h": 319.8
  },
  "luminance": 0.4883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC9CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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