#FA98FD#FA98FD

#FA98FD is a light, vivid purple. Relative luminance 0.499; OKLCH L 81.4% C 0.171 H 326.0°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#FA98FD
RGBrgb(250, 152, 253)
HSLhsl(298, 96%, 79%)
HSVhsv(298, 40%, 99%)
CMYKcmyk(1.2%, 39.9%, 0%, 0.8%)
CIE-LABlab(75.99, 51.50, -35.11)
CIE-LCHlch(75.99, 62.33, 325.72°)
OKLaboklab(81.39% 0.1419 -0.0959)
OKLCHoklch(81.39% 0.171 326)
XYZxyz(68.3807, 49.8753, 98.9344)
Luminance0.4987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA98FD #9BFD98
analogous
#C898FD #FA98FD #FD98CE
triadic
#FA98FD #FDFA98 #98FDFA
tetradic
#FA98FD #FDC898 #9BFD98 #98CEFD
square
#FA98FD #FDC898 #9BFD98 #98CEFD
split-complementary
#FA98FD #CEFD98 #98FDC8
monochromatic
#F420FB #F75CFC #FA98FD #FDD4FE #FEE1FE

Accessibility & contrast

On white

1.91
#FA98FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#FA98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA98FD
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA98FD#FFFFFF#000000##000000
##FA98FD1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB4FF
Deuteranopia (green-blind)
#A9C0FA
Tritanopia (blue-blind)
#FFA2BF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #fa98fd;
/* rgb */ color: rgb(250, 152, 253);
/* oklch */ color: oklch(81.4% 0.171 326.0);
Tailwind
colors: {
  custom: {
    50: '#fdb8fe',
    500: '#fa98fd',
    950: '#000000',
  },
}
SCSS
$custom: #fa98fd;
$custom-light: #fdb8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fa98fd",
  "rgb": {
    "r": 250,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 298.218,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81393,
    "c": 0.17129,
    "h": 326
  },
  "luminance": 0.49872
}

Semantic roles & 50–950 ramp

primary
#FA98FD
secondary
#D5F7D4
accent
#E60007
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181218
muted
#868186

Preview Lab

Preview with #FA98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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