#FB87F0#FB87F0

#FB87F0 is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.5% C 0.188 H 330.8°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#FB87F0
RGBrgb(251, 135, 240)
HSLhsl(306, 94%, 76%)
HSVhsv(306, 46%, 98%)
CMYKcmyk(0%, 46.2%, 4.4%, 1.6%)
CIE-LABlab(72.32, 57.97, -33.71)
CIE-LCHlch(72.32, 67.06, 329.82°)
OKLaboklab(78.51% 0.1642 -0.0918)
OKLCHoklch(78.51% 0.188 330.8)
XYZxyz(64.1752, 44.1321, 87.5593)
Luminance0.4413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87F0 #87FB92
analogous
#CC87FB #FB87F0 #FB87B6
triadic
#FB87F0 #F0FB87 #87F0FB
tetradic
#FB87F0 #FBCC87 #87FB92 #87B6FB
square
#FB87F0 #FBCC87 #87FB92 #87B6FB
split-complementary
#FB87F0 #B6FB87 #87FBCC
monochromatic
#F711E1 #F94CE9 #FB87F0 #FDC2F7 #FEE1FB

Accessibility & contrast

On white

2.14
#FB87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#FB87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87F0
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87F0#FFFFFF#000000##000000
##FB87F01.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F4
Deuteranopia (green-blind)
#A3B7ED
Tritanopia (blue-blind)
#FF90B0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #fb87f0;
/* rgb */ color: rgb(251, 135, 240);
/* oklch */ color: oklch(78.5% 0.188 330.8);
Tailwind
colors: {
  custom: {
    50: '#ffadf5',
    500: '#fb87f0',
    950: '#000000',
  },
}
SCSS
$custom: #fb87f0;
$custom-light: #ffadf5;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87f0",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 305.69,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78505,
    "c": 0.18812,
    "h": 330.8
  },
  "luminance": 0.44128
}

Semantic roles & 50–950 ramp

primary
#FB87F0
secondary
#D5F6D8
accent
#E61600
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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