#FE87FB#FE87FB

#FE87FB is a light, vivid purple. Relative luminance 0.454; OKLCH L 79.3% C 0.199 H 328.2°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#FE87FB
RGBrgb(254, 135, 251)
HSLhsl(302, 98%, 76%)
HSVhsv(302, 47%, 100%)
CMYKcmyk(0%, 46.9%, 1.2%, 0.4%)
CIE-LABlab(73.13, 60.68, -38.42)
CIE-LCHlch(73.13, 71.82, 327.66°)
OKLaboklab(79.34% 0.1695 -0.1051)
OKLCHoklch(79.34% 0.199 328.2)
XYZxyz(66.9486, 45.3675, 96.4785)
Luminance0.4536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE87FB #87FE8A
analogous
#C687FE #FE87FB #FE87C0
triadic
#FE87FB #FBFE87 #87FBFE
tetradic
#FE87FB #FEC687 #87FE8A #87C0FE
square
#FE87FB #FEC687 #87FE8A #87C0FE
split-complementary
#FE87FB #C0FE87 #87FEC6
monochromatic
#FD0EF7 #FD4AF9 #FE87FB #FFC4FD #FFE1FE

Accessibility & contrast

On white

2.08
#FE87FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#FE87FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE87FB
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE87FB#FFFFFF#000000##000000
##FE87FB1.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#A0B9F7
Tritanopia (blue-blind)
#FF93B6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #fe87fb;
/* rgb */ color: rgb(254, 135, 251);
/* oklch */ color: oklch(79.3% 0.199 328.2);
Tailwind
colors: {
  custom: {
    50: '#ffaefd',
    500: '#fe87fb',
    950: '#000000',
  },
}
SCSS
$custom: #fe87fb;
$custom-light: #ffaefd;
$custom-dark: #000000;
JSON
{
  "hex": "#fe87fb",
  "rgb": {
    "r": 254,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 301.513,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79336,
    "c": 0.19944,
    "h": 328.2
  },
  "luminance": 0.45364
}

Semantic roles & 50–950 ramp

primary
#FE87FB
secondary
#D4F7D5
accent
#E60600
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FE87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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