#FA87FE#FA87FE

#FA87FE is a light, vivid purple. Relative luminance 0.448; OKLCH L 79.0% C 0.200 H 326.0°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#FA87FE
RGBrgb(250, 135, 254)
HSLhsl(298, 98%, 76%)
HSVhsv(298, 47%, 100%)
CMYKcmyk(1.6%, 46.9%, 0%, 0.4%)
CIE-LABlab(72.77, 60.09, -40.66)
CIE-LCHlch(72.77, 72.55, 325.92°)
OKLaboklab(79% 0.1656 -0.1116)
OKLCHoklch(79% 0.2 326)
XYZxyz(65.9763, 44.8110, 98.9209)
Luminance0.4481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA87FE #8BFE87
analogous
#BF87FE #FA87FE #FE87C7
triadic
#FA87FE #FEFA87 #87FEFA
tetradic
#FA87FE #FEBF87 #8BFE87 #87C7FE
square
#FA87FE #FEBF87 #8BFE87 #87C7FE
split-complementary
#FA87FE #C7FE87 #87FEBF
monochromatic
#F50EFD #F74AFD #FA87FE #FDC4FF #FEE1FF

Accessibility & contrast

On white

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

On black

9.96
#FA87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA87FE
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA87FE#FFFFFF#000000##000000
##FA87FE1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#9CB8FA
Tritanopia (blue-blind)
#FF94B7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fa87fe;
/* rgb */ color: rgb(250, 135, 254);
/* oklch */ color: oklch(79.0% 0.200 326.0);
Tailwind
colors: {
  custom: {
    50: '#feadff',
    500: '#fa87fe',
    950: '#000000',
  },
}
SCSS
$custom: #fa87fe;
$custom-light: #feadff;
$custom-dark: #000000;
JSON
{
  "hex": "#fa87fe",
  "rgb": {
    "r": 250,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 297.983,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79001,
    "c": 0.19969,
    "h": 326
  },
  "luminance": 0.44808
}

Semantic roles & 50–950 ramp

primary
#FA87FE
secondary
#D5F7D4
accent
#E60008
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181118
muted
#868086

Preview Lab

Preview with #FA87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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