#FB87FA#FB87FA

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

Color values

HEX#FB87FA
RGBrgb(251, 135, 250)
HSLhsl(301, 94%, 76%)
HSVhsv(301, 46%, 98%)
CMYKcmyk(0%, 46.2%, 0.4%, 1.6%)
CIE-LABlab(72.72, 59.67, -38.54)
CIE-LCHlch(72.72, 71.04, 327.14°)
OKLaboklab(78.94% 0.166 -0.1055)
OKLCHoklch(78.94% 0.197 327.6)
XYZxyz(65.7018, 44.7428, 95.5995)
Luminance0.4474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87FA #87FB88
analogous
#C287FB #FB87FA #FB87C0
triadic
#FB87FA #FAFB87 #87FAFB
tetradic
#FB87FA #FBC287 #87FB88 #87C0FB
square
#FB87FA #FBC287 #87FB88 #87C0FB
split-complementary
#FB87FA #C0FB87 #87FBC2
monochromatic
#F711F5 #F94CF8 #FB87FA #FDC2FC #FEE1FE

Accessibility & contrast

On white

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

On black

9.95
#FB87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87FA
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87FA#FFFFFF#000000##000000
##FB87FA1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb87fa;
/* rgb */ color: rgb(251, 135, 250);
/* oklch */ color: oklch(78.9% 0.197 327.6);
Tailwind
colors: {
  custom: {
    50: '#ffadfc',
    500: '#fb87fa',
    950: '#000000',
  },
}
SCSS
$custom: #fb87fa;
$custom-light: #ffadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87fa",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 300.517,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78939,
    "c": 0.19673,
    "h": 327.6
  },
  "luminance": 0.44739
}

Semantic roles & 50–950 ramp

primary
#FB87FA
secondary
#D5F6D5
accent
#E60200
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FB87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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