#ED97FC#ED97FC

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

Color values

HEX#ED97FC
RGBrgb(237, 151, 252)
HSLhsl(291, 94%, 79%)
HSVhsv(291, 40%, 99%)
CMYKcmyk(6%, 40.1%, 0%, 1.2%)
CIE-LABlab(74.30, 48.03, -37.31)
CIE-LCHlch(74.30, 60.81, 322.16°)
OKLaboklab(79.79% 0.1286 -0.1024)
OKLCHoklch(79.79% 0.164 321.5)
XYZxyz(63.5603, 47.1683, 97.8329)
Luminance0.4717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED97FC #A6FC97
analogous
#BB97FC #ED97FC #FC97D9
triadic
#ED97FC #FCED97 #97FCED
tetradic
#ED97FC #FCBB97 #A6FC97 #97D9FC
square
#ED97FC #FCBB97 #A6FC97 #97D9FC
split-complementary
#ED97FC #D9FC97 #97FCBB
monochromatic
#D820F9 #E35CFA #ED97FC #F7D2FE #FAE1FE

Accessibility & contrast

On white

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

On black

10.43
#ED97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED97FC
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED97FC#FFFFFF#000000##000000
##ED97FC1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ed97fc;
/* rgb */ color: rgb(237, 151, 252);
/* oklch */ color: oklch(79.8% 0.164 321.5);
Tailwind
colors: {
  custom: {
    50: '#f4b7fd',
    500: '#ed97fc',
    950: '#000000',
  },
}
SCSS
$custom: #ed97fc;
$custom-light: #f4b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ed97fc",
  "rgb": {
    "r": 237,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 291.089,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.7979,
    "c": 0.1644,
    "h": 321.5
  },
  "luminance": 0.47166
}

Semantic roles & 50–950 ramp

primary
#ED97FC
secondary
#DAF6D5
accent
#E60022
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #ED97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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