#FF97FF#FF97FF

#FF97FF is a light, vivid purple. Relative luminance 0.506; OKLCH L 81.9% C 0.178 H 327.0°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#FF97FF
RGBrgb(255, 151, 255)
HSLhsl(300, 100%, 80%)
HSVhsv(300, 41%, 100%)
CMYKcmyk(0%, 40.8%, 0%, 0%)
CIE-LABlab(76.45, 53.82, -35.44)
CIE-LCHlch(76.45, 64.44, 326.64°)
OKLaboklab(81.88% 0.1493 -0.0968)
OKLCHoklch(81.88% 0.178 327)
XYZxyz(70.3553, 50.6165, 100.6524)
Luminance0.5061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97FF #97FF97
analogous
#CB97FF #FF97FF #FF97CB
triadic
#FF97FF #FFFF97 #97FFFF
tetradic
#FF97FF #FFCB97 #97FF97 #97CBFF
square
#FF97FF #FFCB97 #97FF97 #97CBFF
split-complementary
#FF97FF #CBFF97 #97FFCB
monochromatic
#FF1DFF #FF5AFF #FF97FF #FFD4FF #FFE0FF

Accessibility & contrast

On white

1.89
#FF97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#FF97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97FF
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97FF#FFFFFF#000000##000000
##FF97FF1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB4FF
Deuteranopia (green-blind)
#ABC1FC
Tritanopia (blue-blind)
#FFA1BF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ff97ff;
/* rgb */ color: rgb(255, 151, 255);
/* oklch */ color: oklch(81.9% 0.178 327.0);
Tailwind
colors: {
  custom: {
    50: '#ffb8ff',
    500: '#ff97ff',
    950: '#000000',
  },
}
SCSS
$custom: #ff97ff;
$custom-light: #ffb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97ff",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81882,
    "c": 0.17788,
    "h": 327
  },
  "luminance": 0.50613
}

Semantic roles & 50–950 ramp

primary
#FF97FF
secondary
#59E259
accent
#E60000
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FF97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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