#FF97FE#FF97FE

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

Color values

HEX#FF97FE
RGBrgb(255, 151, 254)
HSLhsl(301, 100%, 80%)
HSVhsv(301, 41%, 100%)
CMYKcmyk(0%, 40.8%, 0.4%, 0%)
CIE-LABlab(76.41, 53.65, -34.96)
CIE-LCHlch(76.41, 64.03, 326.91°)
OKLaboklab(81.84% 0.1491 -0.0954)
OKLCHoklch(81.84% 0.177 327.4)
XYZxyz(70.1947, 50.5523, 99.8069)
Luminance0.5055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97FE #97FF98
analogous
#CC97FF #FF97FE #FF97CA
triadic
#FF97FE #FEFF97 #97FEFF
tetradic
#FF97FE #FFCC97 #97FF98 #97CAFF
square
#FF97FE #FFCC97 #97FF98 #97CAFF
split-complementary
#FF97FE #CAFF97 #97FFCC
monochromatic
#FF1DFD #FF5AFD #FF97FE #FFD4FF #FFE0FF

Accessibility & contrast

On white

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

On black

11.11
#FF97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97FE
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97FE#FFFFFF#000000##000000
##FF97FE1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff97fe;
/* rgb */ color: rgb(255, 151, 254);
/* oklch */ color: oklch(81.8% 0.177 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffb8ff',
    500: '#ff97fe',
    950: '#000000',
  },
}
SCSS
$custom: #ff97fe;
$custom-light: #ffb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97fe",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 300.577,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.8184,
    "c": 0.17697,
    "h": 327.4
  },
  "luminance": 0.50549
}

Semantic roles & 50–950 ramp

primary
#FF97FE
secondary
#59E25A
accent
#E60200
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FF97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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