#FF97FA#FF97FA

#FF97FA is a light, vivid purple. Relative luminance 0.503; OKLCH L 81.7% C 0.173 H 328.8°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#FF97FA
RGBrgb(255, 151, 250)
HSLhsl(303, 100%, 80%)
HSVhsv(303, 41%, 100%)
CMYKcmyk(0%, 40.8%, 2%, 0%)
CIE-LABlab(76.25, 52.95, -33.03)
CIE-LCHlch(76.25, 62.41, 328.04°)
OKLaboklab(81.67% 0.1482 -0.0899)
OKLCHoklch(81.67% 0.173 328.8)
XYZxyz(69.5609, 50.2988, 96.4686)
Luminance0.5030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97FA #97FF9C
analogous
#D097FF #FF97FA #FF97C6
triadic
#FF97FA #FAFF97 #97FAFF
tetradic
#FF97FA #FFD097 #97FF9C #97C6FF
square
#FF97FA #FFD097 #97FF9C #97C6FF
split-complementary
#FF97FA #C6FF97 #97FFD0
monochromatic
#FF1DF4 #FF5AF7 #FF97FA #FFD4FD #FFE0FE

Accessibility & contrast

On white

1.90
#FF97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#FF97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97FA
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97FA#FFFFFF#000000##000000
##FF97FA1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B3FE
Deuteranopia (green-blind)
#ADC1F7
Tritanopia (blue-blind)
#FFA0BD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ff97fa;
/* rgb */ color: rgb(255, 151, 250);
/* oklch */ color: oklch(81.7% 0.173 328.8);
Tailwind
colors: {
  custom: {
    50: '#ffb8fc',
    500: '#ff97fa',
    950: '#000000',
  },
}
SCSS
$custom: #ff97fa;
$custom-light: #ffb8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97fa",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 302.885,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81673,
    "c": 0.17337,
    "h": 328.8
  },
  "luminance": 0.50295
}

Semantic roles & 50–950 ramp

primary
#FF97FA
secondary
#59E25F
accent
#E60B00
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FF97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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