#EC96DE#EC96DE

#EC96DE is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.3% C 0.137 H 332.9°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#EC96DE
RGBrgb(236, 150, 222)
HSLhsl(310, 69%, 76%)
HSVhsv(310, 36%, 93%)
CMYKcmyk(0%, 36.4%, 5.9%, 7.5%)
CIE-LABlab(72.84, 42.82, -23.20)
CIE-LCHlch(72.84, 48.70, 331.55°)
OKLaboklab(78.3% 0.122 -0.0625)
OKLCHoklch(78.3% 0.137 332.9)
XYZxyz(58.6827, 44.9223, 74.6729)
Luminance0.4492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC96DE #96ECA4
analogous
#CF96EC #EC96DE #EC96B3
triadic
#EC96DE #DEEC96 #96DEEC
tetradic
#EC96DE #ECCF96 #96ECA4 #96B3EC
square
#EC96DE #ECCF96 #96ECA4 #96B3EC
split-complementary
#EC96DE #B3EC96 #96ECCF
monochromatic
#D92EBD #E362CE #EC96DE #F5CAEE #FAE5F7

Accessibility & contrast

On white

2.10
#EC96DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#EC96DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC96DE
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC96DE#FFFFFF#000000##000000
##EC96DE1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABE1
Deuteranopia (green-blind)
#AAB7DB
Tritanopia (blue-blind)
#F39BB0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec96de;
/* rgb */ color: rgb(236, 150, 222);
/* oklch */ color: oklch(78.3% 0.137 332.9);
Tailwind
colors: {
  custom: {
    50: '#f3b6e8',
    500: '#ec96de',
    950: '#000000',
  },
}
SCSS
$custom: #ec96de;
$custom-light: #f3b6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec96de",
  "rgb": {
    "r": 236,
    "g": 150,
    "b": 222
  },
  "hsl": {
    "h": 309.767,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78295,
    "c": 0.13705,
    "h": 332.9
  },
  "luminance": 0.44919
}

Semantic roles & 50–950 ramp

primary
#EC96DE
secondary
#D9F2DD
accent
#D13314
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC96DE

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

Preview Lab → · Contrast checker → · Palette generator →

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