#EC9CEE#EC9CEE

#EC9CEE is a light, vivid purple. Relative luminance 0.478; OKLCH L 79.9% C 0.141 H 326.0°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#EC9CEE
RGBrgb(236, 156, 238)
HSLhsl(299, 71%, 77%)
HSVhsv(299, 34%, 93%)
CMYKcmyk(0.8%, 34.5%, 0%, 6.7%)
CIE-LABlab(74.69, 42.52, -29.11)
CIE-LCHlch(74.69, 51.53, 325.61°)
OKLaboklab(79.88% 0.1172 -0.0792)
OKLCHoklch(79.88% 0.141 326)
XYZxyz(61.9117, 47.7852, 86.8346)
Luminance0.4778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9CEE #9EEE9C
analogous
#C39CEE #EC9CEE #EE9CC7
triadic
#EC9CEE #EEEC9C #9CEEEC
tetradic
#EC9CEE #EEC39C #9EEE9C #9CC7EE
square
#EC9CEE #EEC39C #9EEE9C #9CC7EE
split-complementary
#EC9CEE #C7EE9C #9CEEC3
monochromatic
#D834DC #E268E5 #EC9CEE #F6D0F7 #FAE5FB

Accessibility & contrast

On white

1.99
#EC9CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#EC9CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9CEE
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9CEE#FFFFFF#000000##000000
##EC9CEE1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B1F1
Deuteranopia (green-blind)
#A9BBEB
Tritanopia (blue-blind)
#F0A4BA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ec9cee;
/* rgb */ color: rgb(236, 156, 238);
/* oklch */ color: oklch(79.9% 0.141 326.0);
Tailwind
colors: {
  custom: {
    50: '#f3baf3',
    500: '#ec9cee',
    950: '#000000',
  },
}
SCSS
$custom: #ec9cee;
$custom-light: #f3baf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9cee",
  "rgb": {
    "r": 236,
    "g": 156,
    "b": 238
  },
  "hsl": {
    "h": 298.537,
    "s": 70.69,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79883,
    "c": 0.14144,
    "h": 326
  },
  "luminance": 0.47783
}

Semantic roles & 50–950 ramp

primary
#EC9CEE
secondary
#D9F2D9
accent
#D31317
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171217
muted
#858185

Preview Lab

Preview with #EC9CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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