#FF97FD#FF97FD

#FF97FD is a light, vivid purple. Relative luminance 0.505; OKLCH L 81.8% C 0.176 H 327.7°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#FF97FD
RGBrgb(255, 151, 253)
HSLhsl(301, 100%, 80%)
HSVhsv(301, 41%, 100%)
CMYKcmyk(0%, 40.8%, 0.8%, 0%)
CIE-LABlab(76.37, 53.47, -34.48)
CIE-LCHlch(76.37, 63.62, 327.19°)
OKLaboklab(81.8% 0.1489 -0.094)
OKLCHoklch(81.8% 0.176 327.7)
XYZxyz(70.0350, 50.4884, 98.9657)
Luminance0.5049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97FD #97FF99
analogous
#CD97FF #FF97FD #FF97C9
triadic
#FF97FD #FDFF97 #97FDFF
tetradic
#FF97FD #FFCD97 #97FF99 #97C9FF
square
#FF97FD #FFCD97 #97FF99 #97C9FF
split-complementary
#FF97FD #C9FF97 #97FFCD
monochromatic
#FF1DFB #FF5AFC #FF97FD #FFD4FE #FFE0FE

Accessibility & contrast

On white

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

On black

11.10
#FF97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97FD
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97FD#FFFFFF#000000##000000
##FF97FD1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff97fd;
/* rgb */ color: rgb(255, 151, 253);
/* oklch */ color: oklch(81.8% 0.176 327.7);
Tailwind
colors: {
  custom: {
    50: '#ffb8fe',
    500: '#ff97fd',
    950: '#000000',
  },
}
SCSS
$custom: #ff97fd;
$custom-light: #ffb8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97fd",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 301.154,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81798,
    "c": 0.17606,
    "h": 327.7
  },
  "luminance": 0.50485
}

Semantic roles & 50–950 ramp

primary
#FF97FD
secondary
#59E25B
accent
#E60400
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FF97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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