#FB87FD#FB87FD

#FB87FD is a light, vivid purple. Relative luminance 0.449; OKLCH L 79.1% C 0.199 H 326.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#FB87FD
RGBrgb(251, 135, 253)
HSLhsl(299, 97%, 76%)
HSVhsv(299, 47%, 99%)
CMYKcmyk(0.8%, 46.6%, 0%, 0.8%)
CIE-LABlab(72.85, 60.19, -39.98)
CIE-LCHlch(72.85, 72.26, 326.41°)
OKLaboklab(79.07% 0.1665 -0.1097)
OKLCHoklch(79.07% 0.199 326.6)
XYZxyz(66.1760, 44.9324, 98.0966)
Luminance0.4493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87FD #89FD87
analogous
#C087FD #FB87FD #FD87C4
triadic
#FB87FD #FDFB87 #87FDFB
tetradic
#FB87FD #FDC087 #89FD87 #87C4FD
square
#FB87FD #FDC087 #89FD87 #87C4FD
split-complementary
#FB87FD #C4FD87 #87FDC0
monochromatic
#F70FFB #F94BFC #FB87FD #FDC3FE #FEE1FE

Accessibility & contrast

On white

2.10
#FB87FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#FB87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87FD
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87FD#FFFFFF#000000##000000
##FB87FD1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#9DB8F9
Tritanopia (blue-blind)
#FF94B6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fb87fd;
/* rgb */ color: rgb(251, 135, 253);
/* oklch */ color: oklch(79.1% 0.199 326.6);
Tailwind
colors: {
  custom: {
    50: '#ffadfe',
    500: '#fb87fd',
    950: '#000000',
  },
}
SCSS
$custom: #fb87fd;
$custom-light: #ffadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87fd",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 298.983,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.79073,
    "c": 0.19938,
    "h": 326.6
  },
  "luminance": 0.44929
}

Semantic roles & 50–950 ramp

primary
#FB87FD
secondary
#D5F7D4
accent
#E60004
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181118
muted
#868086

Preview Lab

Preview with #FB87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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