#FF97F0#FF97F0

#FF97F0 is a light, vivid purple. Relative luminance 0.497; OKLCH L 81.3% C 0.165 H 332.4°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#FF97F0
RGBrgb(255, 151, 240)
HSLhsl(309, 100%, 80%)
HSVhsv(309, 41%, 100%)
CMYKcmyk(0%, 40.8%, 5.9%, 0%)
CIE-LABlab(75.88, 51.24, -28.19)
CIE-LCHlch(75.88, 58.48, 331.18°)
OKLaboklab(81.27% 0.146 -0.0763)
OKLCHoklch(81.27% 0.165 332.4)
XYZxyz(68.0342, 49.6881, 88.4284)
Luminance0.4968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97F0 #97FFA6
analogous
#DA97FF #FF97F0 #FF97BC
triadic
#FF97F0 #F0FF97 #97F0FF
tetradic
#FF97F0 #FFDA97 #97FFA6 #97BCFF
square
#FF97F0 #FFDA97 #97FFA6 #97BCFF
split-complementary
#FF97F0 #BCFF97 #97FFDA
monochromatic
#FF1DDE #FF5AE7 #FF97F0 #FFD4F9 #FFE0FB

Accessibility & contrast

On white

1.92
#FF97F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#FF97F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97F0
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97F0#FFFFFF#000000##000000
##FF97F01.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B2F3
Deuteranopia (green-blind)
#B0C0ED
Tritanopia (blue-blind)
#FF9DB9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ff97f0;
/* rgb */ color: rgb(255, 151, 240);
/* oklch */ color: oklch(81.3% 0.165 332.4);
Tailwind
colors: {
  custom: {
    50: '#ffb8f5',
    500: '#ff97f0',
    950: '#000000',
  },
}
SCSS
$custom: #ff97f0;
$custom-light: #ffb8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97f0",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 240
  },
  "hsl": {
    "h": 308.654,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81269,
    "c": 0.16469,
    "h": 332.4
  },
  "luminance": 0.49684
}

Semantic roles & 50–950 ramp

primary
#FF97F0
secondary
#D4F7D9
accent
#E62100
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FF97F0

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

Preview Lab → · Contrast checker → · Palette generator →

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