#FB87F9#FB87F9

#FB87F9 is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.9% C 0.196 H 327.9°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#FB87F9
RGBrgb(251, 135, 249)
HSLhsl(301, 94%, 76%)
HSVhsv(301, 46%, 98%)
CMYKcmyk(0%, 46.2%, 0.8%, 1.6%)
CIE-LABlab(72.68, 59.50, -38.06)
CIE-LCHlch(72.68, 70.63, 327.39°)
OKLaboklab(78.9% 0.1659 -0.1042)
OKLCHoklch(78.9% 0.196 327.9)
XYZxyz(65.5455, 44.6802, 94.7758)
Luminance0.4468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87F9 #87FB89
analogous
#C387FB #FB87F9 #FB87BF
triadic
#FB87F9 #F9FB87 #87F9FB
tetradic
#FB87F9 #FBC387 #87FB89 #87BFFB
square
#FB87F9 #FBC387 #87FB89 #87BFFB
split-complementary
#FB87F9 #BFFB87 #87FBC3
monochromatic
#F711F3 #F94CF6 #FB87F9 #FDC2FC #FEE1FE

Accessibility & contrast

On white

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

On black

9.94
#FB87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87F9
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87F9#FFFFFF#000000##000000
##FB87F91.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FD
Deuteranopia (green-blind)
#9FB8F5
Tritanopia (blue-blind)
#FF93B5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fb87f9;
/* rgb */ color: rgb(251, 135, 249);
/* oklch */ color: oklch(78.9% 0.196 327.9);
Tailwind
colors: {
  custom: {
    50: '#ffadfb',
    500: '#fb87f9',
    950: '#000000',
  },
}
SCSS
$custom: #fb87f9;
$custom-light: #ffadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87f9",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 301.034,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78895,
    "c": 0.19586,
    "h": 327.9
  },
  "luminance": 0.44677
}

Semantic roles & 50–950 ramp

primary
#FB87F9
secondary
#D5F6D5
accent
#E60400
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FB87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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