#FF97F3#FF97F3

#FF97F3 is a light, vivid purple. Relative luminance 0.499; OKLCH L 81.4% C 0.167 H 331.3°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#FF97F3
RGBrgb(255, 151, 243)
HSLhsl(307, 100%, 80%)
HSVhsv(307, 41%, 100%)
CMYKcmyk(0%, 40.8%, 4.7%, 0%)
CIE-LABlab(75.99, 51.75, -29.65)
CIE-LCHlch(75.99, 59.64, 330.19°)
OKLaboklab(81.39% 0.1467 -0.0804)
OKLCHoklch(81.39% 0.167 331.3)
XYZxyz(68.4836, 49.8679, 90.7949)
Luminance0.4986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF97F3 #97FFA3
analogous
#D797FF #FF97F3 #FF97BF
triadic
#FF97F3 #F3FF97 #97F3FF
tetradic
#FF97F3 #FFD797 #97FFA3 #97BFFF
square
#FF97F3 #FFD797 #97FFA3 #97BFFF
split-complementary
#FF97F3 #BFFF97 #97FFD7
monochromatic
#FF1DE5 #FF5AEC #FF97F3 #FFD4FA #FFE0FB

Accessibility & contrast

On white

1.91
#FF97F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#FF97F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF97F3
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF97F3#FFFFFF#000000##000000
##FF97F31.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff97f3;
/* rgb */ color: rgb(255, 151, 243);
/* oklch */ color: oklch(81.4% 0.167 331.3);
Tailwind
colors: {
  custom: {
    50: '#ffb8f7',
    500: '#ff97f3',
    950: '#000000',
  },
}
SCSS
$custom: #ff97f3;
$custom-light: #ffb8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff97f3",
  "rgb": {
    "r": 255,
    "g": 151,
    "b": 243
  },
  "hsl": {
    "h": 306.923,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81389,
    "c": 0.16725,
    "h": 331.3
  },
  "luminance": 0.49864
}

Semantic roles & 50–950 ramp

primary
#FF97F3
secondary
#D4F7D8
accent
#E61A00
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FF97F3

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

Preview Lab → · Contrast checker → · Palette generator →

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