#FD97F2#FD97F2

#FD97F2 is a light, vivid purple. Relative luminance 0.494; OKLCH L 81.1% C 0.165 H 331.0°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#FD97F2
RGBrgb(253, 151, 242)
HSLhsl(306, 96%, 79%)
HSVhsv(306, 40%, 99%)
CMYKcmyk(0%, 40.3%, 4.3%, 0.8%)
CIE-LABlab(75.72, 50.98, -29.54)
CIE-LCHlch(75.72, 58.92, 329.91°)
OKLaboklab(81.12% 0.1443 -0.0801)
OKLCHoklch(81.12% 0.165 331)
XYZxyz(67.6009, 49.4301, 89.9674)
Luminance0.4943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FD97F2 #97FDA2
analogous
#D597FD #FD97F2 #FD97BF
triadic
#FD97F2 #F2FD97 #97F2FD
tetradic
#FD97F2 #FDD597 #97FDA2 #97BFFD
square
#FD97F2 #FDD597 #97FDA2 #97BFFD
split-complementary
#FD97F2 #BFFD97 #97FDD5
monochromatic
#FB1FE3 #FC5BEA #FD97F2 #FED3FA #FEE1FB

Accessibility & contrast

On white

1.93
#FD97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#FD97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FD97F2
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FD97F2#FFFFFF#000000##000000
##FD97F21.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fd97f2;
/* rgb */ color: rgb(253, 151, 242);
/* oklch */ color: oklch(81.1% 0.165 331.0);
Tailwind
colors: {
  custom: {
    50: '#ffb8f6',
    500: '#fd97f2',
    950: '#000000',
  },
}
SCSS
$custom: #fd97f2;
$custom-light: #ffb8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fd97f2",
  "rgb": {
    "r": 253,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 306.471,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81124,
    "c": 0.16499,
    "h": 331
  },
  "luminance": 0.49427
}

Semantic roles & 50–950 ramp

primary
#FD97F2
secondary
#D4F7D8
accent
#E61900
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FD97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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