#FA98F8#FA98F8

#FA98F8 is a light, vivid purple. Relative luminance 0.496; OKLCH L 81.2% C 0.167 H 327.7°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#FA98F8
RGBrgb(250, 152, 248)
HSLhsl(301, 91%, 79%)
HSVhsv(301, 39%, 98%)
CMYKcmyk(0%, 39.2%, 0.8%, 2%)
CIE-LABlab(75.80, 50.62, -32.70)
CIE-LCHlch(75.80, 60.26, 327.14°)
OKLaboklab(81.18% 0.1409 -0.0891)
OKLCHoklch(81.18% 0.167 327.7)
XYZxyz(67.5946, 49.5609, 94.7945)
Luminance0.4956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA98F8 #98FA9A
analogous
#CB98FA #FA98F8 #FA98C7
triadic
#FA98F8 #F8FA98 #98F8FA
tetradic
#FA98F8 #FACB98 #98FA9A #98C7FA
square
#FA98F8 #FACB98 #98FA9A #98C7FA
split-complementary
#FA98F8 #C7FA98 #98FACB
monochromatic
#F423F0 #F75EF4 #FA98F8 #FDD2FC #FEE2FD

Accessibility & contrast

On white

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

On black

10.91
#FA98F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA98F8
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA98F8#FFFFFF#000000##000000
##FA98F81.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B3FB
Deuteranopia (green-blind)
#ABBFF5
Tritanopia (blue-blind)
#FFA1BD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #fa98f8;
/* rgb */ color: rgb(250, 152, 248);
/* oklch */ color: oklch(81.2% 0.167 327.7);
Tailwind
colors: {
  custom: {
    50: '#fdb8fa',
    500: '#fa98f8',
    950: '#000000',
  },
}
SCSS
$custom: #fa98f8;
$custom-light: #fdb8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#fa98f8",
  "rgb": {
    "r": 250,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 301.224,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.81184,
    "c": 0.16667,
    "h": 327.7
  },
  "luminance": 0.49558
}

Semantic roles & 50–950 ramp

primary
#FA98F8
secondary
#D5F6D6
accent
#E60500
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181217
muted
#868185

Preview Lab

Preview with #FA98F8

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

Preview Lab → · Contrast checker → · Palette generator →

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