#FB87F7#FB87F7

#FB87F7 is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.8% C 0.194 H 328.5°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#FB87F7
RGBrgb(251, 135, 247)
HSLhsl(302, 94%, 76%)
HSVhsv(302, 46%, 98%)
CMYKcmyk(0%, 46.2%, 1.6%, 1.6%)
CIE-LABlab(72.60, 59.16, -37.10)
CIE-LCHlch(72.60, 69.83, 327.91°)
OKLaboklab(78.81% 0.1655 -0.1014)
OKLCHoklch(78.81% 0.194 328.5)
XYZxyz(65.2352, 44.5561, 93.1417)
Luminance0.4455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87F7 #87FB8B
analogous
#C587FB #FB87F7 #FB87BD
triadic
#FB87F7 #F7FB87 #87F7FB
tetradic
#FB87F7 #FBC587 #87FB8B #87BDFB
square
#FB87F7 #FBC587 #87FB8B #87BDFB
split-complementary
#FB87F7 #BDFB87 #87FBC5
monochromatic
#F711EF #F94CF3 #FB87F7 #FDC2FB #FEE1FD

Accessibility & contrast

On white

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

On black

9.91
#FB87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87F7
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87F7#FFFFFF#000000##000000
##FB87F71.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA8FB
Deuteranopia (green-blind)
#A0B8F3
Tritanopia (blue-blind)
#FF92B4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fb87f7;
/* rgb */ color: rgb(251, 135, 247);
/* oklch */ color: oklch(78.8% 0.194 328.5);
Tailwind
colors: {
  custom: {
    50: '#ffadfa',
    500: '#fb87f7',
    950: '#000000',
  },
}
SCSS
$custom: #fb87f7;
$custom-light: #ffadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87f7",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 302.069,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78807,
    "c": 0.19411,
    "h": 328.5
  },
  "luminance": 0.44553
}

Semantic roles & 50–950 ramp

primary
#FB87F7
secondary
#D5F6D6
accent
#E60800
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FB87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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