#FB87FE#FB87FE

#FB87FE is a light, highly saturated purple. Relative luminance 0.450; OKLCH L 79.1% C 0.200 H 326.3°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#FB87FE
RGBrgb(251, 135, 254)
HSLhsl(298, 98%, 76%)
HSVhsv(298, 47%, 100%)
CMYKcmyk(1.2%, 46.9%, 0%, 0.4%)
CIE-LABlab(72.89, 60.37, -40.46)
CIE-LCHlch(72.89, 72.67, 326.17°)
OKLaboklab(79.12% 0.1667 -0.111)
OKLCHoklch(79.12% 0.2 326.3)
XYZxyz(66.3357, 44.9963, 98.9378)
Luminance0.4499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87FE #8AFE87
analogous
#C087FE #FB87FE #FE87C6
triadic
#FB87FE #FEFB87 #87FEFB
tetradic
#FB87FE #FEC087 #8AFE87 #87C6FE
square
#FB87FE #FEC087 #8AFE87 #87C6FE
split-complementary
#FB87FE #C6FE87 #87FEC0
monochromatic
#F70EFD #F94AFD #FB87FE #FDC4FF #FEE1FF

Accessibility & contrast

On white

2.10
#FB87FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#FB87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87FE
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87FE#FFFFFF#000000##000000
##FB87FE1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb87fe;
/* rgb */ color: rgb(251, 135, 254);
/* oklch */ color: oklch(79.1% 0.200 326.3);
Tailwind
colors: {
  custom: {
    50: '#ffadff',
    500: '#fb87fe',
    950: '#000000',
  },
}
SCSS
$custom: #fb87fe;
$custom-light: #ffadff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87fe",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 298.487,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79118,
    "c": 0.20027,
    "h": 326.3
  },
  "luminance": 0.44993
}

Semantic roles & 50–950 ramp

primary
#FB87FE
secondary
#D5F7D4
accent
#E60006
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181118
muted
#868086

Preview Lab

Preview with #FB87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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