#FB87EC#FB87EC

#FB87EC is a light, vivid purple. Relative luminance 0.439; OKLCH L 78.3% C 0.185 H 332.2°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#FB87EC
RGBrgb(251, 135, 236)
HSLhsl(308, 94%, 76%)
HSVhsv(308, 46%, 98%)
CMYKcmyk(0%, 46.2%, 6%, 1.6%)
CIE-LABlab(72.16, 57.30, -31.77)
CIE-LCHlch(72.16, 65.52, 331.00°)
OKLaboklab(78.34% 0.1634 -0.0863)
OKLCHoklch(78.34% 0.185 332.2)
XYZxyz(63.5876, 43.8971, 84.4643)
Luminance0.4389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87EC #87FB96
analogous
#D087FB #FB87EC #FB87B2
triadic
#FB87EC #ECFB87 #87ECFB
tetradic
#FB87EC #FBD087 #87FB96 #87B2FB
square
#FB87EC #FBD087 #87FB96 #87B2FB
split-complementary
#FB87EC #B2FB87 #87FBD0
monochromatic
#F711D9 #F94CE3 #FB87EC #FDC2F5 #FEE1FA

Accessibility & contrast

On white

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

On black

9.78
#FB87EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87EC
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87EC#FFFFFF#000000##000000
##FB87EC1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7EF
Deuteranopia (green-blind)
#A4B7E9
Tritanopia (blue-blind)
#FF8FAF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #fb87ec;
/* rgb */ color: rgb(251, 135, 236);
/* oklch */ color: oklch(78.3% 0.185 332.2);
Tailwind
colors: {
  custom: {
    50: '#ffadf2',
    500: '#fb87ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb87ec;
$custom-light: #ffadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87ec",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 307.759,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78336,
    "c": 0.18478,
    "h": 332.2
  },
  "luminance": 0.43893
}

Semantic roles & 50–950 ramp

primary
#FB87EC
secondary
#D5F6D9
accent
#E61E00
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB87EC

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

Preview Lab → · Contrast checker → · Palette generator →

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