#FB87ED#FB87ED

#FB87ED is a light, vivid purple. Relative luminance 0.440; OKLCH L 78.4% C 0.186 H 331.8°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#FB87ED
RGBrgb(251, 135, 237)
HSLhsl(307, 94%, 76%)
HSVhsv(307, 46%, 98%)
CMYKcmyk(0%, 46.2%, 5.6%, 1.6%)
CIE-LABlab(72.20, 57.47, -32.26)
CIE-LCHlch(72.20, 65.90, 330.70°)
OKLaboklab(78.38% 0.1636 -0.0877)
OKLCHoklch(78.38% 0.186 331.8)
XYZxyz(63.7333, 43.9554, 85.2316)
Luminance0.4395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB87ED #87FB95
analogous
#CF87FB #FB87ED #FB87B3
triadic
#FB87ED #EDFB87 #87EDFB
tetradic
#FB87ED #FBCF87 #87FB95 #87B3FB
square
#FB87ED #FBCF87 #87FB95 #87B3FB
split-complementary
#FB87ED #B3FB87 #87FBCF
monochromatic
#F711DB #F94CE4 #FB87ED #FDC2F6 #FEE1FB

Accessibility & contrast

On white

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

On black

9.79
#FB87ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB87ED
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB87ED#FFFFFF#000000##000000
##FB87ED1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F1
Deuteranopia (green-blind)
#A4B7EA
Tritanopia (blue-blind)
#FF8FAF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #fb87ed;
/* rgb */ color: rgb(251, 135, 237);
/* oklch */ color: oklch(78.4% 0.186 331.8);
Tailwind
colors: {
  custom: {
    50: '#ffadf3',
    500: '#fb87ed',
    950: '#000000',
  },
}
SCSS
$custom: #fb87ed;
$custom-light: #ffadf3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb87ed",
  "rgb": {
    "r": 251,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 307.241,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78378,
    "c": 0.18561,
    "h": 331.8
  },
  "luminance": 0.43952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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