#FB87FC#FB87FC

#FB87FC is a light, vivid purple. Relative luminance 0.449; OKLCH L 79.0% C 0.199 H 326.9°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#FB87FC
RGBrgb(251, 135, 252)
HSLhsl(299, 95%, 76%)
HSVhsv(299, 46%, 99%)
CMYKcmyk(0.4%, 46.4%, 0%, 1.2%)
CIE-LABlab(72.81, 60.02, -39.50)
CIE-LCHlch(72.81, 71.85, 326.65°)
OKLaboklab(79.03% 0.1664 -0.1083)
OKLCHoklch(79.03% 0.199 326.9)
XYZxyz(66.0171, 44.8689, 97.2598)
Luminance0.4486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87FC #88FC87
analogous
#C087FC #FB87FC #FC87C2
triadic
#FB87FC #FCFB87 #87FCFB
tetradic
#FB87FC #FCC087 #88FC87 #87C2FC
square
#FB87FC #FCC087 #88FC87 #87C2FC
split-complementary
#FB87FC #C2FC87 #87FCC0
monochromatic
#F710F9 #F94BFB #FB87FC #FDC3FD #FEE1FE

Accessibility & contrast

On white

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

On black

9.97
#FB87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87FC
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87FC#FFFFFF#000000##000000
##FB87FC1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#9EB8F8
Tritanopia (blue-blind)
#FF93B6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fb87fc;
/* rgb */ color: rgb(251, 135, 252);
/* oklch */ color: oklch(79.0% 0.199 326.9);
Tailwind
colors: {
  custom: {
    50: '#ffadfd',
    500: '#fb87fc',
    950: '#000000',
  },
}
SCSS
$custom: #fb87fc;
$custom-light: #ffadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87fc",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 299.487,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.79028,
    "c": 0.1985,
    "h": 326.9
  },
  "luminance": 0.44865
}

Semantic roles & 50–950 ramp

primary
#FB87FC
secondary
#D5F6D5
accent
#E60002
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181118
muted
#868086

Preview Lab

Preview with #FB87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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