#FF97FB#FF97FB

#FF97FB is a light, vivid purple. Relative luminance 0.504; OKLCH L 81.7% C 0.174 H 328.4°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#FF97FB
RGBrgb(255, 151, 251)
HSLhsl(302, 100%, 80%)
HSVhsv(302, 41%, 100%)
CMYKcmyk(0%, 40.8%, 1.6%, 0%)
CIE-LABlab(76.29, 53.12, -33.52)
CIE-LCHlch(76.29, 62.81, 327.75°)
OKLaboklab(81.72% 0.1484 -0.0913)
OKLCHoklch(81.72% 0.174 328.4)
XYZxyz(69.7181, 50.3617, 97.2965)
Luminance0.5036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97FB #97FF9B
analogous
#CF97FF #FF97FB #FF97C7
triadic
#FF97FB #FBFF97 #97FBFF
tetradic
#FF97FB #FFCF97 #97FF9B #97C7FF
square
#FF97FB #FFCF97 #97FF9B #97C7FF
split-complementary
#FF97FB #C7FF97 #97FFCF
monochromatic
#FF1DF6 #FF5AF9 #FF97FB #FFD4FD #FFE0FE

Accessibility & contrast

On white

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

On black

11.07
#FF97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97FB
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97FB#FFFFFF#000000##000000
##FF97FB1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FF
Deuteranopia (green-blind)
#ACC1F8
Tritanopia (blue-blind)
#FFA0BD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ff97fb;
/* rgb */ color: rgb(255, 151, 251);
/* oklch */ color: oklch(81.7% 0.174 328.4);
Tailwind
colors: {
  custom: {
    50: '#ffb8fd',
    500: '#ff97fb',
    950: '#000000',
  },
}
SCSS
$custom: #ff97fb;
$custom-light: #ffb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97fb",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 302.308,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81715,
    "c": 0.17427,
    "h": 328.4
  },
  "luminance": 0.50358
}

Semantic roles & 50–950 ramp

primary
#FF97FB
secondary
#59E25E
accent
#E60900
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FF97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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