#ED97EE#ED97EE

#ED97EE is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.2% C 0.151 H 326.5°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#ED97EE
RGBrgb(237, 151, 238)
HSLhsl(299, 72%, 76%)
HSVhsv(299, 37%, 93%)
CMYKcmyk(0.4%, 36.6%, 0%, 6.7%)
CIE-LABlab(73.75, 45.44, -30.55)
CIE-LCHlch(73.75, 54.75, 326.09°)
OKLaboklab(79.2% 0.1256 -0.0832)
OKLCHoklch(79.2% 0.151 326.5)
XYZxyz(61.4230, 46.3133, 86.5763)
Luminance0.4631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED97EE #98EE97
analogous
#C297EE #ED97EE #EE97C4
triadic
#ED97EE #EEED97 #97EEED
tetradic
#ED97EE #EEC297 #98EE97 #97C4EE
square
#ED97EE #EEC297 #98EE97 #97C4EE
split-complementary
#ED97EE #C4EE97 #97EEC2
monochromatic
#DB2EDD #E462E5 #ED97EE #F6CCF7 #FAE5FB

Accessibility & contrast

On white

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

On black

10.26
#ED97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED97EE
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED97EE#FFFFFF#000000##000000
##ED97EE1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ed97ee;
/* rgb */ color: rgb(237, 151, 238);
/* oklch */ color: oklch(79.2% 0.151 326.5);
Tailwind
colors: {
  custom: {
    50: '#f4b7f3',
    500: '#ed97ee',
    950: '#000000',
  },
}
SCSS
$custom: #ed97ee;
$custom-light: #f4b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ed97ee",
  "rgb": {
    "r": 237,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 299.31,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79197,
    "c": 0.15064,
    "h": 326.5
  },
  "luminance": 0.46311
}

Semantic roles & 50–950 ramp

primary
#ED97EE
secondary
#D9F2D9
accent
#D41214
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #ED97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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