#FA97FA#FA97FA

#FA97FA is a light, vivid purple. Relative luminance 0.494; OKLCH L 81.1% C 0.170 H 327.0°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#FA97FA
RGBrgb(250, 151, 250)
HSLhsl(300, 91%, 79%)
HSVhsv(300, 40%, 98%)
CMYKcmyk(0%, 39.6%, 0%, 2%)
CIE-LABlab(75.68, 51.48, -33.97)
CIE-LCHlch(75.68, 61.67, 326.58°)
OKLaboklab(81.12% 0.1427 -0.0927)
OKLCHoklch(81.12% 0.17 327)
XYZxyz(67.7449, 49.3624, 96.3834)
Luminance0.4936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA97FA #97FA97
analogous
#C897FA #FA97FA #FA97C8
triadic
#FA97FA #FAFA97 #97FAFA
tetradic
#FA97FA #FAC897 #97FA97 #97C8FA
square
#FA97FA #FAC897 #97FA97 #97C8FA
split-complementary
#FA97FA #C8FA97 #97FAC8
monochromatic
#F422F4 #F75DF7 #FA97FA #FDD1FD #FEE2FE

Accessibility & contrast

On white

1.93
#FA97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#FA97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA97FA
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA97FA#FFFFFF#000000##000000
##FA97FA1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FE
Deuteranopia (green-blind)
#AABFF7
Tritanopia (blue-blind)
#FFA1BD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fa97fa;
/* rgb */ color: rgb(250, 151, 250);
/* oklch */ color: oklch(81.1% 0.170 327.0);
Tailwind
colors: {
  custom: {
    50: '#fdb8fc',
    500: '#fa97fa',
    950: '#000000',
  },
}
SCSS
$custom: #fa97fa;
$custom-light: #fdb8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fa97fa",
  "rgb": {
    "r": 250,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 300,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.81117,
    "c": 0.17016,
    "h": 327
  },
  "luminance": 0.49359
}

Semantic roles & 50–950 ramp

primary
#FA97FA
secondary
#D5F6D5
accent
#E60000
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FA97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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