#FB87F6#FB87F6

#FB87F6 is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.8% C 0.193 H 328.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#FB87F6
RGBrgb(251, 135, 246)
HSLhsl(303, 94%, 76%)
HSVhsv(303, 46%, 98%)
CMYKcmyk(0%, 46.2%, 2%, 1.6%)
CIE-LABlab(72.56, 58.98, -36.62)
CIE-LCHlch(72.56, 69.43, 328.17°)
OKLaboklab(78.76% 0.1653 -0.1001)
OKLCHoklch(78.76% 0.193 328.8)
XYZxyz(65.0813, 44.4946, 92.3312)
Luminance0.4449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87F6 #87FB8C
analogous
#C687FB #FB87F6 #FB87BC
triadic
#FB87F6 #F6FB87 #87F6FB
tetradic
#FB87F6 #FBC687 #87FB8C #87BCFB
square
#FB87F6 #FBC687 #87FB8C #87BCFB
split-complementary
#FB87F6 #BCFB87 #87FBC6
monochromatic
#F711ED #F94CF2 #FB87F6 #FDC2FA #FEE1FD

Accessibility & contrast

On white

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

On black

9.90
#FB87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87F6
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87F6#FFFFFF#000000##000000
##FB87F61.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA8FA
Deuteranopia (green-blind)
#A0B8F2
Tritanopia (blue-blind)
#FF92B3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fb87f6;
/* rgb */ color: rgb(251, 135, 246);
/* oklch */ color: oklch(78.8% 0.193 328.8);
Tailwind
colors: {
  custom: {
    50: '#ffadf9',
    500: '#fb87f6',
    950: '#000000',
  },
}
SCSS
$custom: #fb87f6;
$custom-light: #ffadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87f6",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 302.586,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78763,
    "c": 0.19324,
    "h": 328.8
  },
  "luminance": 0.44491
}

Semantic roles & 50–950 ramp

primary
#FB87F6
secondary
#D5F6D6
accent
#E60A00
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FB87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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