#EC97DE#EC97DE

#EC97DE is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.5% C 0.135 H 332.9°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#EC97DE
RGBrgb(236, 151, 222)
HSLhsl(310, 69%, 76%)
HSVhsv(310, 36%, 93%)
CMYKcmyk(0%, 36%, 5.9%, 7.5%)
CIE-LABlab(73.05, 42.30, -22.88)
CIE-LCHlch(73.05, 48.09, 331.59°)
OKLaboklab(78.45% 0.1205 -0.0616)
OKLCHoklch(78.45% 0.135 332.9)
XYZxyz(58.8429, 45.2428, 74.7263)
Luminance0.4524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97DE #97ECA5
analogous
#CF97EC #EC97DE #EC97B3
triadic
#EC97DE #DEEC97 #97DEEC
tetradic
#EC97DE #ECCF97 #97ECA5 #97B3EC
square
#EC97DE #ECCF97 #97ECA5 #97B3EC
split-complementary
#EC97DE #B3EC97 #97ECCF
monochromatic
#D930BD #E363CE #EC97DE #F5CBEE #FAE5F7

Accessibility & contrast

On white

2.09
#EC97DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#EC97DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97DE
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97DE#FFFFFF#000000##000000
##EC97DE1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACE1
Deuteranopia (green-blind)
#ABB8DB
Tritanopia (blue-blind)
#F39BB1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec97de;
/* rgb */ color: rgb(236, 151, 222);
/* oklch */ color: oklch(78.5% 0.135 332.9);
Tailwind
colors: {
  custom: {
    50: '#f3b7e8',
    500: '#ec97de',
    950: '#000000',
  },
}
SCSS
$custom: #ec97de;
$custom-light: #f3b7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97de",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 222
  },
  "hsl": {
    "h": 309.882,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78454,
    "c": 0.13533,
    "h": 332.9
  },
  "luminance": 0.4524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC97DE

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

Preview Lab → · Contrast checker → · Palette generator →

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