#FB87EA#FB87EA

#FB87EA is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.3% C 0.183 H 332.9°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#FB87EA
RGBrgb(251, 135, 234)
HSLhsl(309, 94%, 76%)
HSVhsv(309, 46%, 98%)
CMYKcmyk(0%, 46.2%, 6.8%, 1.6%)
CIE-LABlab(72.08, 56.97, -30.79)
CIE-LCHlch(72.08, 64.76, 331.61°)
OKLaboklab(78.25% 0.163 -0.0835)
OKLCHoklch(78.25% 0.183 332.9)
XYZxyz(63.2986, 43.7815, 82.9426)
Luminance0.4378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87EA #87FB98
analogous
#D287FB #FB87EA #FB87B0
triadic
#FB87EA #EAFB87 #87EAFB
tetradic
#FB87EA #FBD287 #87FB98 #87B0FB
square
#FB87EA #FBD287 #87FB98 #87B0FB
split-complementary
#FB87EA #B0FB87 #87FBD2
monochromatic
#F711D5 #F94CE0 #FB87EA #FDC2F4 #FEE1FA

Accessibility & contrast

On white

2.15
#FB87EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#FB87EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87EA
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87EA#FFFFFF#000000##000000
##FB87EA1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A6ED
Deuteranopia (green-blind)
#A5B7E7
Tritanopia (blue-blind)
#FF8EAE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #fb87ea;
/* rgb */ color: rgb(251, 135, 234);
/* oklch */ color: oklch(78.3% 0.183 332.9);
Tailwind
colors: {
  custom: {
    50: '#ffadf1',
    500: '#fb87ea',
    950: '#000000',
  },
}
SCSS
$custom: #fb87ea;
$custom-light: #ffadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87ea",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 308.793,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78253,
    "c": 0.18313,
    "h": 332.9
  },
  "luminance": 0.43778
}

Semantic roles & 50–950 ramp

primary
#FB87EA
secondary
#D5F6DA
accent
#E62200
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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