#FB87F1#FB87F1

#FB87F1 is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.5% C 0.189 H 330.5°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#FB87F1
RGBrgb(251, 135, 241)
HSLhsl(305, 94%, 76%)
HSVhsv(305, 46%, 98%)
CMYKcmyk(0%, 46.2%, 4%, 1.6%)
CIE-LABlab(72.36, 58.14, -34.20)
CIE-LCHlch(72.36, 67.45, 329.53°)
OKLaboklab(78.55% 0.1644 -0.0932)
OKLCHoklch(78.55% 0.189 330.5)
XYZxyz(64.3242, 44.1917, 88.3438)
Luminance0.4419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87F1 #87FB91
analogous
#CB87FB #FB87F1 #FB87B7
triadic
#FB87F1 #F1FB87 #87F1FB
tetradic
#FB87F1 #FBCB87 #87FB91 #87B7FB
square
#FB87F1 #FBCB87 #87FB91 #87B7FB
split-complementary
#FB87F1 #B7FB87 #87FBCB
monochromatic
#F711E3 #F94CEA #FB87F1 #FDC2F8 #FEE1FC

Accessibility & contrast

On white

2.13
#FB87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#FB87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87F1
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87F1#FFFFFF#000000##000000
##FB87F11.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F5
Deuteranopia (green-blind)
#A2B7EE
Tritanopia (blue-blind)
#FF90B1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #fb87f1;
/* rgb */ color: rgb(251, 135, 241);
/* oklch */ color: oklch(78.5% 0.189 330.5);
Tailwind
colors: {
  custom: {
    50: '#ffadf6',
    500: '#fb87f1',
    950: '#000000',
  },
}
SCSS
$custom: #fb87f1;
$custom-light: #ffadf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87f1",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 305.172,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78547,
    "c": 0.18896,
    "h": 330.5
  },
  "luminance": 0.44188
}

Semantic roles & 50–950 ramp

primary
#FB87F1
secondary
#D5F6D8
accent
#E61400
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#181017
muted
#867F85

Preview Lab

Preview with #FB87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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