#ED97DF#ED97DF

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

Color values

HEX#ED97DF
RGBrgb(237, 151, 223)
HSLhsl(310, 70%, 76%)
HSVhsv(310, 36%, 93%)
CMYKcmyk(0%, 36.3%, 5.9%, 7.1%)
CIE-LABlab(73.20, 42.79, -23.19)
CIE-LCHlch(73.20, 48.67, 331.54°)
OKLaboklab(78.6% 0.1219 -0.0625)
OKLCHoklch(78.6% 0.137 332.9)
XYZxyz(59.3104, 45.4683, 75.4499)
Luminance0.4546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED97DF #97EDA5
analogous
#D097ED #ED97DF #ED97B4
triadic
#ED97DF #DFED97 #97DFED
tetradic
#ED97DF #EDD097 #97EDA5 #97B4ED
square
#ED97DF #EDD097 #97EDA5 #97B4ED
split-complementary
#ED97DF #B4ED97 #97EDD0
monochromatic
#DB2FBF #E463CF #ED97DF #F6CBEF #FAE5F7

Accessibility & contrast

On white

2.08
#ED97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#ED97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED97DF
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED97DF#FFFFFF#000000##000000
##ED97DF1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACE2
Deuteranopia (green-blind)
#ABB8DC
Tritanopia (blue-blind)
#F49CB1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ed97df;
/* rgb */ color: rgb(237, 151, 223);
/* oklch */ color: oklch(78.6% 0.137 332.9);
Tailwind
colors: {
  custom: {
    50: '#f4b7e9',
    500: '#ed97df',
    950: '#000000',
  },
}
SCSS
$custom: #ed97df;
$custom-light: #f4b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ed97df",
  "rgb": {
    "r": 237,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 309.767,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78602,
    "c": 0.13695,
    "h": 332.9
  },
  "luminance": 0.45465
}

Semantic roles & 50–950 ramp

primary
#ED97DF
secondary
#D9F2DD
accent
#D33213
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #ED97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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