#FF97F2#FF97F2

#FF97F2 is a light, vivid purple. Relative luminance 0.498; OKLCH L 81.3% C 0.166 H 331.7°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#FF97F2
RGBrgb(255, 151, 242)
HSLhsl(308, 100%, 80%)
HSVhsv(308, 41%, 100%)
CMYKcmyk(0%, 40.8%, 5.1%, 0%)
CIE-LABlab(75.95, 51.58, -29.16)
CIE-LCHlch(75.95, 59.25, 330.52°)
OKLaboklab(81.35% 0.1464 -0.079)
OKLCHoklch(81.35% 0.166 331.7)
XYZxyz(68.3330, 49.8076, 90.0017)
Luminance0.4980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97F2 #97FFA4
analogous
#D897FF #FF97F2 #FF97BE
triadic
#FF97F2 #F2FF97 #97F2FF
tetradic
#FF97F2 #FFD897 #97FFA4 #97BEFF
square
#FF97F2 #FFD897 #97FFA4 #97BEFF
split-complementary
#FF97F2 #BEFF97 #97FFD8
monochromatic
#FF1DE3 #FF5AEA #FF97F2 #FFD4FA #FFE0FB

Accessibility & contrast

On white

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

On black

10.96
#FF97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97F2
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97F2#FFFFFF#000000##000000
##FF97F21.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B2F5
Deuteranopia (green-blind)
#AFC1EF
Tritanopia (blue-blind)
#FF9EBA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ff97f2;
/* rgb */ color: rgb(255, 151, 242);
/* oklch */ color: oklch(81.3% 0.166 331.7);
Tailwind
colors: {
  custom: {
    50: '#ffb8f6',
    500: '#ff97f2',
    950: '#000000',
  },
}
SCSS
$custom: #ff97f2;
$custom-light: #ffb8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97f2",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 307.5,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81349,
    "c": 0.16639,
    "h": 331.7
  },
  "luminance": 0.49804
}

Semantic roles & 50–950 ramp

primary
#FF97F2
secondary
#D4F7D8
accent
#E61D00
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FF97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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