#FB87F3#FB87F3

#FB87F3 is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.6% C 0.191 H 329.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#FB87F3
RGBrgb(251, 135, 243)
HSLhsl(304, 94%, 76%)
HSVhsv(304, 46%, 98%)
CMYKcmyk(0%, 46.2%, 3.2%, 1.6%)
CIE-LABlab(72.44, 58.47, -35.17)
CIE-LCHlch(72.44, 68.24, 328.98°)
OKLaboklab(78.63% 0.1648 -0.0959)
OKLCHoklch(78.63% 0.191 329.8)
XYZxyz(64.6246, 44.3119, 89.9258)
Luminance0.4431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87F3 #87FB8F
analogous
#C987FB #FB87F3 #FB87B9
triadic
#FB87F3 #F3FB87 #87F3FB
tetradic
#FB87F3 #FBC987 #87FB8F #87B9FB
square
#FB87F3 #FBC987 #87FB8F #87B9FB
split-complementary
#FB87F3 #B9FB87 #87FBC9
monochromatic
#F711E7 #F94CED #FB87F3 #FDC2F9 #FEE1FC

Accessibility & contrast

On white

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

On black

9.86
#FB87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87F3
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87F3#FFFFFF#000000##000000
##FB87F31.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A8F7
Deuteranopia (green-blind)
#A1B7F0
Tritanopia (blue-blind)
#FF91B2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fb87f3;
/* rgb */ color: rgb(251, 135, 243);
/* oklch */ color: oklch(78.6% 0.191 329.8);
Tailwind
colors: {
  custom: {
    50: '#ffadf7',
    500: '#fb87f3',
    950: '#000000',
  },
}
SCSS
$custom: #fb87f3;
$custom-light: #ffadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87f3",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 304.138,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78633,
    "c": 0.19066,
    "h": 329.8
  },
  "luminance": 0.44308
}

Semantic roles & 50–950 ramp

primary
#FB87F3
secondary
#D5F6D7
accent
#E61000
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#181017
muted
#867F85

Preview Lab

Preview with #FB87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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