#EC9EE7#EC9EE7

#EC9EE7 is a light, vivid purple. Relative luminance 0.481; OKLCH L 79.9% C 0.131 H 329.0°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#EC9EE7
RGBrgb(236, 158, 231)
HSLhsl(304, 67%, 77%)
HSVhsv(304, 33%, 93%)
CMYKcmyk(0%, 33.1%, 2.1%, 7.5%)
CIE-LABlab(74.86, 40.21, -25.03)
CIE-LCHlch(74.86, 47.37, 328.09°)
OKLaboklab(79.93% 0.1125 -0.0677)
OKLCHoklch(79.93% 0.131 329)
XYZxyz(61.2417, 48.0586, 81.6361)
Luminance0.4806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9EE7 #9EECA3
analogous
#CA9EEC #EC9EE7 #EC9EC0
triadic
#EC9EE7 #E7EC9E #9EE7EC
tetradic
#EC9EE7 #ECCA9E #9EECA3 #9EC0EC
square
#EC9EE7 #ECCA9E #9EECA3 #9EC0EC
split-complementary
#EC9EE7 #C0EC9E #9EECCA
monochromatic
#D838CE #E26BDA #EC9EE7 #F6D1F4 #FAE5F9

Accessibility & contrast

On white

1.98
#EC9EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#EC9EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9EE7
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9EE7#FFFFFF#000000##000000
##EC9EE71.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB2EA
Deuteranopia (green-blind)
#ADBCE4
Tritanopia (blue-blind)
#F2A4B9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ec9ee7;
/* rgb */ color: rgb(236, 158, 231);
/* oklch */ color: oklch(79.9% 0.131 329.0);
Tailwind
colors: {
  custom: {
    50: '#f3bcee',
    500: '#ec9ee7',
    950: '#000000',
  },
}
SCSS
$custom: #ec9ee7;
$custom-light: #f3bcee;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9ee7",
  "rgb": {
    "r": 236,
    "g": 158,
    "b": 231
  },
  "hsl": {
    "h": 303.846,
    "s": 67.241,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79929,
    "c": 0.1313,
    "h": 329
  },
  "luminance": 0.48056
}

Semantic roles & 50–950 ramp

primary
#EC9EE7
secondary
#D9F2DB
accent
#CF2216
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171216
muted
#858184

Preview Lab

Preview with #EC9EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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