#FA98FB#FA98FB

#FA98FB is a light, vivid purple. Relative luminance 0.497; OKLCH L 81.3% C 0.169 H 326.6°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#FA98FB
RGBrgb(250, 152, 251)
HSLhsl(299, 93%, 79%)
HSVhsv(299, 39%, 98%)
CMYKcmyk(0.4%, 39.4%, 0%, 1.6%)
CIE-LABlab(75.91, 51.15, -34.14)
CIE-LCHlch(75.91, 61.50, 326.27°)
OKLaboklab(81.31% 0.1415 -0.0932)
OKLCHoklch(81.31% 0.169 326.6)
XYZxyz(68.0638, 49.7486, 97.2653)
Luminance0.4975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA98FB #99FB98
analogous
#C998FB #FA98FB #FB98CB
triadic
#FA98FB #FBFA98 #98FBFA
tetradic
#FA98FB #FBC998 #99FB98 #98CBFB
square
#FA98FB #FBC998 #99FB98 #98CBFB
split-complementary
#FA98FB #CBFB98 #98FBC9
monochromatic
#F422F6 #F75DF9 #FA98FB #FDD3FD #FEE2FE

Accessibility & contrast

On white

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

On black

10.95
#FA98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA98FB
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA98FB#FFFFFF#000000##000000
##FA98FB1.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FF
Deuteranopia (green-blind)
#AAC0F8
Tritanopia (blue-blind)
#FFA2BE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #fa98fb;
/* rgb */ color: rgb(250, 152, 251);
/* oklch */ color: oklch(81.3% 0.169 326.6);
Tailwind
colors: {
  custom: {
    50: '#fdb8fd',
    500: '#fa98fb',
    950: '#000000',
  },
}
SCSS
$custom: #fa98fb;
$custom-light: #fdb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fa98fb",
  "rgb": {
    "r": 250,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 299.394,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.81309,
    "c": 0.16943,
    "h": 326.6
  },
  "luminance": 0.49746
}

Semantic roles & 50–950 ramp

primary
#FA98FB
secondary
#D5F6D5
accent
#E60002
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181217
muted
#868185

Preview Lab

Preview with #FA98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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