#FA98FC#FA98FC

#FA98FC is a light, vivid purple. Relative luminance 0.498; OKLCH L 81.4% C 0.170 H 326.3°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#FA98FC
RGBrgb(250, 152, 252)
HSLhsl(299, 94%, 79%)
HSVhsv(299, 40%, 99%)
CMYKcmyk(0.8%, 39.7%, 0%, 1.2%)
CIE-LABlab(75.95, 51.33, -34.62)
CIE-LCHlch(75.95, 61.91, 326.00°)
OKLaboklab(81.35% 0.1417 -0.0945)
OKLCHoklch(81.35% 0.17 326.3)
XYZxyz(68.2218, 49.8118, 98.0977)
Luminance0.4981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA98FC #9AFC98
analogous
#C898FC #FA98FC #FC98CC
triadic
#FA98FC #FCFA98 #98FCFA
tetradic
#FA98FC #FCC898 #9AFC98 #98CCFC
square
#FA98FC #FCC898 #9AFC98 #98CCFC
split-complementary
#FA98FC #CCFC98 #98FCC8
monochromatic
#F421F9 #F75DFA #FA98FC #FDD3FE #FEE1FE

Accessibility & contrast

On white

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

On black

10.96
#FA98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA98FC
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA98FC#FFFFFF#000000##000000
##FA98FC1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#AAC0F9
Tritanopia (blue-blind)
#FFA2BE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #fa98fc;
/* rgb */ color: rgb(250, 152, 252);
/* oklch */ color: oklch(81.4% 0.170 326.3);
Tailwind
colors: {
  custom: {
    50: '#fdb8fd',
    500: '#fa98fc',
    950: '#000000',
  },
}
SCSS
$custom: #fa98fc;
$custom-light: #fdb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fa98fc",
  "rgb": {
    "r": 250,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 298.8,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81351,
    "c": 0.17036,
    "h": 326.3
  },
  "luminance": 0.49809
}

Semantic roles & 50–950 ramp

primary
#FA98FC
secondary
#D5F6D5
accent
#E60005
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181217
muted
#868185

Preview Lab

Preview with #FA98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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