#EC97ED#EC97ED

#EC97ED is a light, vivid purple. Relative luminance 0.461; OKLCH L 79.0% C 0.149 H 326.5°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#EC97ED
RGBrgb(236, 151, 237)
HSLhsl(299, 70%, 76%)
HSVhsv(299, 36%, 93%)
CMYKcmyk(0.4%, 36.3%, 0%, 7.1%)
CIE-LABlab(73.60, 44.95, -30.24)
CIE-LCHlch(73.60, 54.18, 326.07°)
OKLaboklab(79.05% 0.1242 -0.0823)
OKLCHoklch(79.05% 0.149 326.5)
XYZxyz(60.9434, 46.0830, 85.7891)
Luminance0.4608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97ED #98ED97
analogous
#C197ED #EC97ED #ED97C3
triadic
#EC97ED #EDEC97 #97EDEC
tetradic
#EC97ED #EDC197 #98ED97 #97C3ED
square
#EC97ED #EDC197 #98ED97 #97C3ED
split-complementary
#EC97ED #C3ED97 #97EDC1
monochromatic
#D92FDB #E263E4 #EC97ED #F6CBF6 #FAE5FA

Accessibility & contrast

On white

2.06
#EC97ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#EC97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97ED
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97ED#FFFFFF#000000##000000
##EC97ED1.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF0
Deuteranopia (green-blind)
#A6B9EA
Tritanopia (blue-blind)
#F19FB7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ec97ed;
/* rgb */ color: rgb(236, 151, 237);
/* oklch */ color: oklch(79.0% 0.149 326.5);
Tailwind
colors: {
  custom: {
    50: '#f3b7f3',
    500: '#ec97ed',
    950: '#000000',
  },
}
SCSS
$custom: #ec97ed;
$custom-light: #f3b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97ed",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 299.302,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.79048,
    "c": 0.14904,
    "h": 326.5
  },
  "luminance": 0.46081
}

Semantic roles & 50–950 ramp

primary
#EC97ED
secondary
#D9F2D9
accent
#D31315
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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