#FB87FB#FB87FB

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

Color values

HEX#FB87FB
RGBrgb(251, 135, 251)
HSLhsl(300, 94%, 76%)
HSVhsv(300, 46%, 98%)
CMYKcmyk(0%, 46.2%, 0%, 1.6%)
CIE-LABlab(72.76, 59.85, -39.02)
CIE-LCHlch(72.76, 71.44, 326.89°)
OKLaboklab(78.98% 0.1662 -0.1069)
OKLCHoklch(78.98% 0.198 327.2)
XYZxyz(65.8591, 44.8057, 96.4274)
Luminance0.4480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87FB #87FB87
analogous
#C187FB #FB87FB #FB87C1
triadic
#FB87FB #FBFB87 #87FBFB
tetradic
#FB87FB #FBC187 #87FB87 #87C1FB
square
#FB87FB #FBC187 #87FB87 #87C1FB
split-complementary
#FB87FB #C1FB87 #87FBC1
monochromatic
#F711F7 #F94CF9 #FB87FB #FDC2FD #FEE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB87FB#FFFFFF#000000##000000
##FB87FB1.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)
#7DA9FF
Deuteranopia (green-blind)
#9EB8F7
Tritanopia (blue-blind)
#FF93B6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fb87fb;
/* rgb */ color: rgb(251, 135, 251);
/* oklch */ color: oklch(79.0% 0.198 327.2);
Tailwind
colors: {
  custom: {
    50: '#ffadfd',
    500: '#fb87fb',
    950: '#000000',
  },
}
SCSS
$custom: #fb87fb;
$custom-light: #ffadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87fb",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 300,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78983,
    "c": 0.19761,
    "h": 327.2
  },
  "luminance": 0.44802
}

Semantic roles & 50–950 ramp

primary
#FB87FB
secondary
#D5F6D5
accent
#E60000
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FB87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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