#ED97FA#ED97FA

#ED97FA is a light, vivid purple. Relative luminance 0.470; OKLCH L 79.7% C 0.162 H 322.1°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#ED97FA
RGBrgb(237, 151, 250)
HSLhsl(292, 91%, 79%)
HSVhsv(292, 40%, 98%)
CMYKcmyk(5.2%, 39.6%, 0%, 2%)
CIE-LABlab(74.22, 47.65, -36.35)
CIE-LCHlch(74.22, 59.93, 322.66°)
OKLaboklab(79.7% 0.1282 -0.0996)
OKLCHoklch(79.7% 0.162 322.1)
XYZxyz(63.2450, 47.0422, 96.1725)
Luminance0.4704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED97FA #A4FA97
analogous
#BB97FA #ED97FA #FA97D5
triadic
#ED97FA #FAED97 #97FAED
tetradic
#ED97FA #FABB97 #A4FA97 #97D5FA
square
#ED97FA #FABB97 #A4FA97 #97D5FA
split-complementary
#ED97FA #D5FA97 #97FABB
monochromatic
#D922F4 #E35DF7 #ED97FA #F7D1FD #FAE2FE

Accessibility & contrast

On white

2.02
#ED97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#ED97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED97FA
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED97FA#FFFFFF#000000##000000
##ED97FA1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FE
Deuteranopia (green-blind)
#A2BAF7
Tritanopia (blue-blind)
#F0A2BD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ed97fa;
/* rgb */ color: rgb(237, 151, 250);
/* oklch */ color: oklch(79.7% 0.162 322.1);
Tailwind
colors: {
  custom: {
    50: '#f4b7fc',
    500: '#ed97fa',
    950: '#000000',
  },
}
SCSS
$custom: #ed97fa;
$custom-light: #f4b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ed97fa",
  "rgb": {
    "r": 237,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 292.121,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79703,
    "c": 0.16238,
    "h": 322.1
  },
  "luminance": 0.4704
}

Semantic roles & 50–950 ramp

primary
#ED97FA
secondary
#DAF6D5
accent
#E6001E
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #ED97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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