#FB87F4#FB87F4

#FB87F4 is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.7% C 0.192 H 329.5°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#FB87F4
RGBrgb(251, 135, 244)
HSLhsl(304, 94%, 76%)
HSVhsv(304, 46%, 98%)
CMYKcmyk(0%, 46.2%, 2.8%, 1.6%)
CIE-LABlab(72.48, 58.64, -35.65)
CIE-LCHlch(72.48, 68.63, 328.70°)
OKLaboklab(78.68% 0.165 -0.0973)
OKLCHoklch(78.68% 0.192 329.5)
XYZxyz(64.7760, 44.3724, 90.7232)
Luminance0.4437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87F4 #87FB8E
analogous
#C887FB #FB87F4 #FB87BA
triadic
#FB87F4 #F4FB87 #87F4FB
tetradic
#FB87F4 #FBC887 #87FB8E #87BAFB
square
#FB87F4 #FBC887 #87FB8E #87BAFB
split-complementary
#FB87F4 #BAFB87 #87FBC8
monochromatic
#F711E9 #F94CEF #FB87F4 #FDC2F9 #FEE1FC

Accessibility & contrast

On white

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

On black

9.87
#FB87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87F4
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87F4#FFFFFF#000000##000000
##FB87F41.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A8F8
Deuteranopia (green-blind)
#A1B7F1
Tritanopia (blue-blind)
#FF91B2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fb87f4;
/* rgb */ color: rgb(251, 135, 244);
/* oklch */ color: oklch(78.7% 0.192 329.5);
Tailwind
colors: {
  custom: {
    50: '#ffadf8',
    500: '#fb87f4',
    950: '#000000',
  },
}
SCSS
$custom: #fb87f4;
$custom-light: #ffadf8;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87f4",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 303.621,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78676,
    "c": 0.19152,
    "h": 329.5
  },
  "luminance": 0.44369
}

Semantic roles & 50–950 ramp

primary
#FB87F4
secondary
#D5F6D7
accent
#E60E00
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FB87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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