#ED97FE#ED97FE

#ED97FE is a light, vivid purple. Relative luminance 0.473; OKLCH L 79.9% C 0.166 H 320.8°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#ED97FE
RGBrgb(237, 151, 254)
HSLhsl(290, 98%, 79%)
HSVhsv(290, 41%, 100%)
CMYKcmyk(6.7%, 40.6%, 0%, 0.4%)
CIE-LABlab(74.38, 48.41, -38.26)
CIE-LCHlch(74.38, 61.70, 321.67°)
OKLaboklab(79.88% 0.129 -0.1051)
OKLCHoklch(79.88% 0.166 320.8)
XYZxyz(63.8789, 47.2957, 99.5108)
Luminance0.4729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED97FE #A8FE97
analogous
#BA97FE #ED97FE #FE97DC
triadic
#ED97FE #FEED97 #97FEED
tetradic
#ED97FE #FEBA97 #A8FE97 #97DCFE
square
#ED97FE #FEBA97 #A8FE97 #97DCFE
split-complementary
#ED97FE #DCFE97 #97FEBA
monochromatic
#D81EFD #E35AFD #ED97FE #F7D4FF #FAE1FF

Accessibility & contrast

On white

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

On black

10.46
#ED97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED97FE
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED97FE#FFFFFF#000000##000000
##ED97FE1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ed97fe;
/* rgb */ color: rgb(237, 151, 254);
/* oklch */ color: oklch(79.9% 0.166 320.8);
Tailwind
colors: {
  custom: {
    50: '#f4b7ff',
    500: '#ed97fe',
    950: '#000000',
  },
}
SCSS
$custom: #ed97fe;
$custom-light: #f4b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ed97fe",
  "rgb": {
    "r": 237,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 290.097,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.79878,
    "c": 0.16642,
    "h": 320.8
  },
  "luminance": 0.47293
}

Semantic roles & 50–950 ramp

primary
#ED97FE
secondary
#DAF7D4
accent
#E60026
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #ED97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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