#EC97EE#EC97EE

#EC97EE is a light, vivid purple. Relative luminance 0.461; OKLCH L 79.1% C 0.150 H 326.1°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#EC97EE
RGBrgb(236, 151, 238)
HSLhsl(299, 72%, 76%)
HSVhsv(299, 37%, 93%)
CMYKcmyk(0.8%, 36.6%, 0%, 6.7%)
CIE-LABlab(73.64, 45.13, -30.73)
CIE-LCHlch(73.64, 54.60, 325.75°)
OKLaboklab(79.09% 0.1245 -0.0837)
OKLCHoklch(79.09% 0.15 326.1)
XYZxyz(61.0899, 46.1416, 86.5606)
Luminance0.4614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97EE #99EE97
analogous
#C197EE #EC97EE #EE97C5
triadic
#EC97EE #EEEC97 #97EEEC
tetradic
#EC97EE #EEC197 #99EE97 #97C5EE
square
#EC97EE #EEC197 #99EE97 #97C5EE
split-complementary
#EC97EE #C5EE97 #97EEC1
monochromatic
#D92EDD #E262E5 #EC97EE #F6CCF7 #FAE5FB

Accessibility & contrast

On white

2.05
#EC97EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#EC97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97EE
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97EE#FFFFFF#000000##000000
##EC97EE1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF1
Deuteranopia (green-blind)
#A6B9EB
Tritanopia (blue-blind)
#F19FB8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ec97ee;
/* rgb */ color: rgb(236, 151, 238);
/* oklch */ color: oklch(79.1% 0.150 326.1);
Tailwind
colors: {
  custom: {
    50: '#f3b7f3',
    500: '#ec97ee',
    950: '#000000',
  },
}
SCSS
$custom: #ec97ee;
$custom-light: #f3b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97ee",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 298.621,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79089,
    "c": 0.14999,
    "h": 326.1
  },
  "luminance": 0.46139
}

Semantic roles & 50–950 ramp

primary
#EC97EE
secondary
#D9F2D9
accent
#D41216
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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