#FB87F5#FB87F5

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

Color values

HEX#FB87F5
RGBrgb(251, 135, 245)
HSLhsl(303, 94%, 76%)
HSVhsv(303, 46%, 98%)
CMYKcmyk(0%, 46.2%, 2.4%, 1.6%)
CIE-LABlab(72.52, 58.81, -36.14)
CIE-LCHlch(72.52, 69.03, 328.43°)
OKLaboklab(78.72% 0.1651 -0.0987)
OKLCHoklch(78.72% 0.192 329.1)
XYZxyz(64.9282, 44.4333, 91.5251)
Luminance0.4443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87F5 #87FB8D
analogous
#C787FB #FB87F5 #FB87BB
triadic
#FB87F5 #F5FB87 #87F5FB
tetradic
#FB87F5 #FBC787 #87FB8D #87BBFB
square
#FB87F5 #FBC787 #87FB8D #87BBFB
split-complementary
#FB87F5 #BBFB87 #87FBC7
monochromatic
#F711EB #F94CF0 #FB87F5 #FDC2FA #FEE1FD

Accessibility & contrast

On white

2.12
#FB87F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#FB87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87F5
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87F5#FFFFFF#000000##000000
##FB87F51.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A8F9
Deuteranopia (green-blind)
#A1B8F1
Tritanopia (blue-blind)
#FF91B3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fb87f5;
/* rgb */ color: rgb(251, 135, 245);
/* oklch */ color: oklch(78.7% 0.192 329.1);
Tailwind
colors: {
  custom: {
    50: '#ffadf8',
    500: '#fb87f5',
    950: '#000000',
  },
}
SCSS
$custom: #fb87f5;
$custom-light: #ffadf8;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87f5",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 303.103,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7872,
    "c": 0.19238,
    "h": 329.1
  },
  "luminance": 0.4443
}

Semantic roles & 50–950 ramp

primary
#FB87F5
secondary
#D5F6D7
accent
#E60C00
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FB87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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