#FA87FC#FA87FC

#FA87FC is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.9% C 0.198 H 326.6°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#FA87FC
RGBrgb(250, 135, 252)
HSLhsl(299, 95%, 76%)
HSVhsv(299, 46%, 99%)
CMYKcmyk(0.8%, 46.4%, 0%, 1.2%)
CIE-LABlab(72.68, 59.74, -39.70)
CIE-LCHlch(72.68, 71.73, 326.39°)
OKLaboklab(78.91% 0.1653 -0.1089)
OKLCHoklch(78.91% 0.198 326.6)
XYZxyz(65.6577, 44.6836, 97.2430)
Luminance0.4468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA87FC #89FC87
analogous
#BF87FC #FA87FC #FC87C3
triadic
#FA87FC #FCFA87 #87FCFA
tetradic
#FA87FC #FCBF87 #89FC87 #87C3FC
square
#FA87FC #FCBF87 #89FC87 #87C3FC
split-complementary
#FA87FC #C3FC87 #87FCBF
monochromatic
#F510F9 #F84BFB #FA87FC #FCC3FD #FEE1FE

Accessibility & contrast

On white

2.11
#FA87FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#FA87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA87FC
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA87FC#FFFFFF#000000##000000
##FA87FC1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#9DB8F8
Tritanopia (blue-blind)
#FF94B6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fa87fc;
/* rgb */ color: rgb(250, 135, 252);
/* oklch */ color: oklch(78.9% 0.198 326.6);
Tailwind
colors: {
  custom: {
    50: '#feadfd',
    500: '#fa87fc',
    950: '#000000',
  },
}
SCSS
$custom: #fa87fc;
$custom-light: #feadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#fa87fc",
  "rgb": {
    "r": 250,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 298.974,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78911,
    "c": 0.1979,
    "h": 326.6
  },
  "luminance": 0.4468
}

Semantic roles & 50–950 ramp

primary
#FA87FC
secondary
#D5F6D5
accent
#E60004
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181118
muted
#868086

Preview Lab

Preview with #FA87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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