#FB87F8#FB87F8

#FB87F8 is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.9% C 0.195 H 328.2°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#FB87F8
RGBrgb(251, 135, 248)
HSLhsl(302, 94%, 76%)
HSVhsv(302, 46%, 98%)
CMYKcmyk(0%, 46.2%, 1.2%, 1.6%)
CIE-LABlab(72.64, 59.33, -37.58)
CIE-LCHlch(72.64, 70.23, 327.65°)
OKLaboklab(78.85% 0.1657 -0.1028)
OKLCHoklch(78.85% 0.195 328.2)
XYZxyz(65.3899, 44.6180, 93.9566)
Luminance0.4461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87F8 #87FB8A
analogous
#C487FB #FB87F8 #FB87BE
triadic
#FB87F8 #F8FB87 #87F8FB
tetradic
#FB87F8 #FBC487 #87FB8A #87BEFB
square
#FB87F8 #FBC487 #87FB8A #87BEFB
split-complementary
#FB87F8 #BEFB87 #87FBC4
monochromatic
#F711F1 #F94CF5 #FB87F8 #FDC2FB #FEE1FD

Accessibility & contrast

On white

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

On black

9.92
#FB87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87F8
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87F8#FFFFFF#000000##000000
##FB87F81.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FC
Deuteranopia (green-blind)
#9FB8F4
Tritanopia (blue-blind)
#FF92B4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fb87f8;
/* rgb */ color: rgb(251, 135, 248);
/* oklch */ color: oklch(78.9% 0.195 328.2);
Tailwind
colors: {
  custom: {
    50: '#ffadfb',
    500: '#fb87f8',
    950: '#000000',
  },
}
SCSS
$custom: #fb87f8;
$custom-light: #ffadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87f8",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 301.552,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78851,
    "c": 0.19498,
    "h": 328.2
  },
  "luminance": 0.44614
}

Semantic roles & 50–950 ramp

primary
#FB87F8
secondary
#D5F6D6
accent
#E60600
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FB87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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