#ED97FF#ED97FF

#ED97FF is a light, vivid purple. Relative luminance 0.474; OKLCH L 79.9% C 0.167 H 320.5°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#ED97FF
RGBrgb(237, 151, 255)
HSLhsl(290, 100%, 80%)
HSVhsv(290, 41%, 100%)
CMYKcmyk(7.1%, 40.8%, 0%, 0%)
CIE-LABlab(74.42, 48.60, -38.74)
CIE-LCHlch(74.42, 62.15, 321.44°)
OKLaboklab(79.92% 0.1292 -0.1065)
OKLCHoklch(79.92% 0.167 320.5)
XYZxyz(64.0394, 47.3599, 100.3564)
Luminance0.4736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED97FF #A9FF97
analogous
#B997FF #ED97FF #FF97DD
triadic
#ED97FF #FFED97 #97FFED
tetradic
#ED97FF #FFB997 #A9FF97 #97DDFF
square
#ED97FF #FFB997 #A9FF97 #97DDFF
split-complementary
#ED97FF #DDFF97 #97FFB9
monochromatic
#D81DFF #E25AFF #ED97FF #F8D4FF #FAE0FF

Accessibility & contrast

On white

2.01
#ED97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#ED97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED97FF
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED97FF#FFFFFF#000000##000000
##ED97FF1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#A0BAFC
Tritanopia (blue-blind)
#EFA4BF
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ed97ff;
/* rgb */ color: rgb(237, 151, 255);
/* oklch */ color: oklch(79.9% 0.167 320.5);
Tailwind
colors: {
  custom: {
    50: '#f4b7ff',
    500: '#ed97ff',
    950: '#000000',
  },
}
SCSS
$custom: #ed97ff;
$custom-light: #f4b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ed97ff",
  "rgb": {
    "r": 237,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 289.615,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.79922,
    "c": 0.16743,
    "h": 320.5
  },
  "luminance": 0.47358
}

Semantic roles & 50–950 ramp

primary
#ED97FF
secondary
#DAF7D4
accent
#E60028
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #ED97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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