#FF97FC#FF97FC

#FF97FC is a light, vivid purple. Relative luminance 0.504; OKLCH L 81.8% C 0.175 H 328.1°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#FF97FC
RGBrgb(255, 151, 252)
HSLhsl(302, 100%, 80%)
HSVhsv(302, 41%, 100%)
CMYKcmyk(0%, 40.8%, 1.2%, 0%)
CIE-LABlab(76.33, 53.30, -34.00)
CIE-LCHlch(76.33, 63.22, 327.47°)
OKLaboklab(81.76% 0.1487 -0.0927)
OKLCHoklch(81.76% 0.175 328.1)
XYZxyz(69.8761, 50.4249, 98.1289)
Luminance0.5042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97FC #97FF9A
analogous
#CE97FF #FF97FC #FF97C8
triadic
#FF97FC #FCFF97 #97FCFF
tetradic
#FF97FC #FFCE97 #97FF9A #97C8FF
square
#FF97FC #FFCE97 #97FF9A #97C8FF
split-complementary
#FF97FC #C8FF97 #97FFCE
monochromatic
#FF1DF8 #FF5AFA #FF97FC #FFD4FE #FFE0FE

Accessibility & contrast

On white

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

On black

11.08
#FF97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97FC
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97FC#FFFFFF#000000##000000
##FF97FC1.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B4FF
Deuteranopia (green-blind)
#ACC1F9
Tritanopia (blue-blind)
#FFA0BE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ff97fc;
/* rgb */ color: rgb(255, 151, 252);
/* oklch */ color: oklch(81.8% 0.175 328.1);
Tailwind
colors: {
  custom: {
    50: '#ffb8fd',
    500: '#ff97fc',
    950: '#000000',
  },
}
SCSS
$custom: #ff97fc;
$custom-light: #ffb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97fc",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 301.731,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81756,
    "c": 0.17517,
    "h": 328.1
  },
  "luminance": 0.50421
}

Semantic roles & 50–950 ramp

primary
#FF97FC
secondary
#59E25D
accent
#E60700
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FF97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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