#FD97EF#FD97EF

#FD97EF is a light, vivid purple. Relative luminance 0.492; OKLCH L 81.0% C 0.162 H 332.1°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#FD97EF
RGBrgb(253, 151, 239)
HSLhsl(308, 96%, 79%)
HSVhsv(308, 40%, 99%)
CMYKcmyk(0%, 40.3%, 5.5%, 0.8%)
CIE-LABlab(75.61, 50.47, -28.08)
CIE-LCHlch(75.61, 57.75, 330.91°)
OKLaboklab(81% 0.1436 -0.076)
OKLCHoklch(81% 0.162 332.1)
XYZxyz(67.1540, 49.2514, 87.6139)
Luminance0.4925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FD97EF #97FDA5
analogous
#D897FD #FD97EF #FD97BC
triadic
#FD97EF #EFFD97 #97EFFD
tetradic
#FD97EF #FDD897 #97FDA5 #97BCFD
square
#FD97EF #FDD897 #97FDA5 #97BCFD
split-complementary
#FD97EF #BCFD97 #97FDD8
monochromatic
#FB1FDD #FC5BE6 #FD97EF #FED3F8 #FEE1FA

Accessibility & contrast

On white

1.94
#FD97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#FD97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FD97EF
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FD97EF#FFFFFF#000000##000000
##FD97EF1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B1F2
Deuteranopia (green-blind)
#AFC0EC
Tritanopia (blue-blind)
#FF9DB8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fd97ef;
/* rgb */ color: rgb(253, 151, 239);
/* oklch */ color: oklch(81.0% 0.162 332.1);
Tailwind
colors: {
  custom: {
    50: '#ffb8f4',
    500: '#fd97ef',
    950: '#000000',
  },
}
SCSS
$custom: #fd97ef;
$custom-light: #ffb8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fd97ef",
  "rgb": {
    "r": 253,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 308.235,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81004,
    "c": 0.16242,
    "h": 332.1
  },
  "luminance": 0.49248
}

Semantic roles & 50–950 ramp

primary
#FD97EF
secondary
#D4F7D9
accent
#E61F00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FD97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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