#FE97F2#FE97F2

#FE97F2 is a light, vivid purple. Relative luminance 0.496; OKLCH L 81.2% C 0.166 H 331.3°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#FE97F2
RGBrgb(254, 151, 242)
HSLhsl(307, 98%, 79%)
HSVhsv(307, 41%, 100%)
CMYKcmyk(0%, 40.6%, 4.7%, 0.4%)
CIE-LABlab(75.83, 51.28, -29.35)
CIE-LCHlch(75.83, 59.08, 330.21°)
OKLaboklab(81.24% 0.1454 -0.0795)
OKLCHoklch(81.24% 0.166 331.3)
XYZxyz(67.9660, 49.6184, 89.9845)
Luminance0.4961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE97F2 #97FEA3
analogous
#D697FE #FE97F2 #FE97BF
triadic
#FE97F2 #F2FE97 #97F2FE
tetradic
#FE97F2 #FED697 #97FEA3 #97BFFE
square
#FE97F2 #FED697 #97FEA3 #97BFFE
split-complementary
#FE97F2 #BFFE97 #97FED6
monochromatic
#FD1EE3 #FD5AEA #FE97F2 #FFD4FA #FFE1FB

Accessibility & contrast

On white

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

On black

10.92
#FE97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE97F2
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE97F2#FFFFFF#000000##000000
##FE97F21.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fe97f2;
/* rgb */ color: rgb(254, 151, 242);
/* oklch */ color: oklch(81.2% 0.166 331.3);
Tailwind
colors: {
  custom: {
    50: '#ffb8f6',
    500: '#fe97f2',
    950: '#000000',
  },
}
SCSS
$custom: #fe97f2;
$custom-light: #ffb8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fe97f2",
  "rgb": {
    "r": 254,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 306.99,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81236,
    "c": 0.16569,
    "h": 331.3
  },
  "luminance": 0.49615
}

Semantic roles & 50–950 ramp

primary
#FE97F2
secondary
#D4F7D8
accent
#E61B00
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FE97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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