#FD97FE#FD97FE

#FD97FE is a light, vivid purple. Relative luminance 0.502; OKLCH L 81.6% C 0.176 H 326.7°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#FD97FE
RGBrgb(253, 151, 254)
HSLhsl(299, 98%, 79%)
HSVhsv(299, 41%, 100%)
CMYKcmyk(0.4%, 40.6%, 0%, 0.4%)
CIE-LABlab(76.18, 53.06, -35.33)
CIE-LCHlch(76.18, 63.75, 326.34°)
OKLaboklab(81.62% 0.1469 -0.0965)
OKLCHoklch(81.62% 0.176 326.7)
XYZxyz(69.4626, 50.1748, 99.7725)
Luminance0.5017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FD97FE #98FE97
analogous
#C997FE #FD97FE #FE97CC
triadic
#FD97FE #FEFD97 #97FEFD
tetradic
#FD97FE #FEC997 #98FE97 #97CCFE
square
#FD97FE #FEC997 #98FE97 #97CCFE
split-complementary
#FD97FE #CCFE97 #97FEC9
monochromatic
#FB1EFD #FC5AFD #FD97FE #FED4FF #FEE1FF

Accessibility & contrast

On white

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

On black

11.03
#FD97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FD97FE
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FD97FE#FFFFFF#000000##000000
##FD97FE1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB4FF
Deuteranopia (green-blind)
#AAC1FB
Tritanopia (blue-blind)
#FFA1BF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #fd97fe;
/* rgb */ color: rgb(253, 151, 254);
/* oklch */ color: oklch(81.6% 0.176 326.7);
Tailwind
colors: {
  custom: {
    50: '#ffb8ff',
    500: '#fd97fe',
    950: '#000000',
  },
}
SCSS
$custom: #fd97fe;
$custom-light: #ffb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fd97fe",
  "rgb": {
    "r": 253,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 299.417,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81618,
    "c": 0.17572,
    "h": 326.7
  },
  "luminance": 0.50172
}

Semantic roles & 50–950 ramp

primary
#FD97FE
secondary
#5AE059
accent
#E60002
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FD97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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