#ED97EF#ED97EF

#ED97EF is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.2% C 0.152 H 326.1°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#ED97EF
RGBrgb(237, 151, 239)
HSLhsl(299, 73%, 76%)
HSVhsv(299, 37%, 94%)
CMYKcmyk(0.8%, 36.8%, 0%, 6.3%)
CIE-LABlab(73.79, 45.62, -31.03)
CIE-LCHlch(73.79, 55.17, 325.77°)
OKLaboklab(79.24% 0.1258 -0.0845)
OKLCHoklch(79.24% 0.152 326.1)
XYZxyz(61.5703, 46.3723, 87.3521)
Luminance0.4637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED97EF #99EF97
analogous
#C197EF #ED97EF #EF97C5
triadic
#ED97EF #EFED97 #97EFED
tetradic
#ED97EF #EFC197 #99EF97 #97C5EF
square
#ED97EF #EFC197 #99EF97 #97C5EF
split-complementary
#ED97EF #C5EF97 #97EFC1
monochromatic
#DB2DDF #E462E7 #ED97EF #F6CCF7 #FAE4FB

Accessibility & contrast

On white

2.04
#ED97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#ED97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED97EF
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED97EF#FFFFFF#000000##000000
##ED97EF1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ed97ef;
/* rgb */ color: rgb(237, 151, 239);
/* oklch */ color: oklch(79.2% 0.152 326.1);
Tailwind
colors: {
  custom: {
    50: '#f4b7f4',
    500: '#ed97ef',
    950: '#000000',
  },
}
SCSS
$custom: #ed97ef;
$custom-light: #f4b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ed97ef",
  "rgb": {
    "r": 237,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 298.636,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79238,
    "c": 0.15159,
    "h": 326.1
  },
  "luminance": 0.4637
}

Semantic roles & 50–950 ramp

primary
#ED97EF
secondary
#D9F3D8
accent
#D51015
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #ED97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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