#ED97FD#ED97FD

#ED97FD is a light, vivid purple. Relative luminance 0.472; OKLCH L 79.8% C 0.165 H 321.1°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#ED97FD
RGBrgb(237, 151, 253)
HSLhsl(291, 96%, 79%)
HSVhsv(291, 40%, 99%)
CMYKcmyk(6.3%, 40.3%, 0%, 0.8%)
CIE-LABlab(74.34, 48.22, -37.79)
CIE-LCHlch(74.34, 61.26, 321.92°)
OKLaboklab(79.83% 0.1288 -0.1038)
OKLCHoklch(79.83% 0.165 321.1)
XYZxyz(63.7192, 47.2318, 98.6696)
Luminance0.4723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED97FD #A7FD97
analogous
#BA97FD #ED97FD #FD97DA
triadic
#ED97FD #FDED97 #97FDED
tetradic
#ED97FD #FDBA97 #A7FD97 #97DAFD
square
#ED97FD #FDBA97 #A7FD97 #97DAFD
split-complementary
#ED97FD #DAFD97 #97FDBA
monochromatic
#D81FFB #E35BFC #ED97FD #F7D3FE #FAE1FE

Accessibility & contrast

On white

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

On black

10.45
#ED97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED97FD
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED97FD#FFFFFF#000000##000000
##ED97FD1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#A0BAFA
Tritanopia (blue-blind)
#EFA3BE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ed97fd;
/* rgb */ color: rgb(237, 151, 253);
/* oklch */ color: oklch(79.8% 0.165 321.1);
Tailwind
colors: {
  custom: {
    50: '#f4b7fe',
    500: '#ed97fd',
    950: '#000000',
  },
}
SCSS
$custom: #ed97fd;
$custom-light: #f4b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ed97fd",
  "rgb": {
    "r": 237,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 290.588,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79834,
    "c": 0.1654,
    "h": 321.1
  },
  "luminance": 0.4723
}

Semantic roles & 50–950 ramp

primary
#ED97FD
secondary
#DAF7D4
accent
#E60024
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #ED97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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