#FD98FC#FD98FC

#FD98FC is a light, vivid purple. Relative luminance 0.504; OKLCH L 81.7% C 0.172 H 327.4°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#FD98FC
RGBrgb(253, 152, 252)
HSLhsl(301, 96%, 79%)
HSVhsv(301, 40%, 99%)
CMYKcmyk(0%, 39.9%, 0.4%, 0.8%)
CIE-LABlab(76.30, 52.21, -34.07)
CIE-LCHlch(76.30, 62.34, 326.87°)
OKLaboklab(81.68% 0.145 -0.0929)
OKLCHoklch(81.68% 0.172 327.4)
XYZxyz(69.3056, 50.3706, 98.1485)
Luminance0.5037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FD98FC #98FD99
analogous
#CC98FD #FD98FC #FD98CA
triadic
#FD98FC #FCFD98 #98FCFD
tetradic
#FD98FC #FDCC98 #98FD99 #98CAFD
square
#FD98FC #FDCC98 #98FD99 #98CAFD
split-complementary
#FD98FC #CAFD98 #98FDCC
monochromatic
#FB20F9 #FC5CFA #FD98FC #FED4FE #FEE1FE

Accessibility & contrast

On white

1.90
#FD98FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#FD98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FD98FC
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FD98FC#FFFFFF#000000##000000
##FD98FC1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B4FF
Deuteranopia (green-blind)
#ABC1F9
Tritanopia (blue-blind)
#FFA2BE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #fd98fc;
/* rgb */ color: rgb(253, 152, 252);
/* oklch */ color: oklch(81.7% 0.172 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffb8fd',
    500: '#fd98fc',
    950: '#000000',
  },
}
SCSS
$custom: #fd98fc;
$custom-light: #ffb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fd98fc",
  "rgb": {
    "r": 253,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 300.594,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81682,
    "c": 0.17223,
    "h": 327.4
  },
  "luminance": 0.50367
}

Semantic roles & 50–950 ramp

primary
#FD98FC
secondary
#5ADF5C
accent
#E60200
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FD98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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