#FB87EF#FB87EF

#FB87EF is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.5% C 0.187 H 331.1°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#FB87EF
RGBrgb(251, 135, 239)
HSLhsl(306, 94%, 76%)
HSVhsv(306, 46%, 98%)
CMYKcmyk(0%, 46.2%, 4.8%, 1.6%)
CIE-LABlab(72.28, 57.80, -33.23)
CIE-LCHlch(72.28, 66.67, 330.11°)
OKLaboklab(78.46% 0.164 -0.0904)
OKLCHoklch(78.46% 0.187 331.1)
XYZxyz(64.0271, 44.0729, 86.7791)
Luminance0.4407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87EF #87FB93
analogous
#CD87FB #FB87EF #FB87B5
triadic
#FB87EF #EFFB87 #87EFFB
tetradic
#FB87EF #FBCD87 #87FB93 #87B5FB
square
#FB87EF #FBCD87 #87FB93 #87B5FB
split-complementary
#FB87EF #B5FB87 #87FBCD
monochromatic
#F711DF #F94CE7 #FB87EF #FDC2F7 #FEE1FB

Accessibility & contrast

On white

2.14
#FB87EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#FB87EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87EF
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87EF#FFFFFF#000000##000000
##FB87EF1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F3
Deuteranopia (green-blind)
#A3B7EC
Tritanopia (blue-blind)
#FF90B0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #fb87ef;
/* rgb */ color: rgb(251, 135, 239);
/* oklch */ color: oklch(78.5% 0.187 331.1);
Tailwind
colors: {
  custom: {
    50: '#ffadf4',
    500: '#fb87ef',
    950: '#000000',
  },
}
SCSS
$custom: #fb87ef;
$custom-light: #ffadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87ef",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 306.207,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78462,
    "c": 0.18727,
    "h": 331.1
  },
  "luminance": 0.44069
}

Semantic roles & 50–950 ramp

primary
#FB87EF
secondary
#D5F6D8
accent
#E61800
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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