#FA98F2#FA98F2

#FA98F2 is a light, vivid purple. Relative luminance 0.492; OKLCH L 80.9% C 0.161 H 329.9°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#FA98F2
RGBrgb(250, 152, 242)
HSLhsl(305, 91%, 79%)
HSVhsv(305, 39%, 98%)
CMYKcmyk(0%, 39.2%, 3.2%, 2%)
CIE-LABlab(75.57, 49.57, -29.79)
CIE-LCHlch(75.57, 57.83, 328.99°)
OKLaboklab(80.94% 0.1395 -0.0809)
OKLCHoklch(80.94% 0.161 329.9)
XYZxyz(66.6787, 49.1945, 89.9705)
Luminance0.4919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA98F2 #98FAA0
analogous
#D198FA #FA98F2 #FA98C1
triadic
#FA98F2 #F2FA98 #98F2FA
tetradic
#FA98F2 #FAD198 #98FAA0 #98C1FA
square
#FA98F2 #FAD198 #98FAA0 #98C1FA
split-complementary
#FA98F2 #C1FA98 #98FAD1
monochromatic
#F423E3 #F75EEB #FA98F2 #FDD2F9 #FEE2FB

Accessibility & contrast

On white

1.94
#FA98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#FA98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA98F2
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA98F2#FFFFFF#000000##000000
##FA98F21.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B2F5
Deuteranopia (green-blind)
#ADBFEF
Tritanopia (blue-blind)
#FF9FBA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fa98f2;
/* rgb */ color: rgb(250, 152, 242);
/* oklch */ color: oklch(80.9% 0.161 329.9);
Tailwind
colors: {
  custom: {
    50: '#fdb8f6',
    500: '#fa98f2',
    950: '#000000',
  },
}
SCSS
$custom: #fa98f2;
$custom-light: #fdb8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fa98f2",
  "rgb": {
    "r": 250,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 304.898,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80939,
    "c": 0.16126,
    "h": 329.9
  },
  "luminance": 0.49191
}

Semantic roles & 50–950 ramp

primary
#FA98F2
secondary
#D5F6D8
accent
#E61300
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FA98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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