#FE87FA#FE87FA

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

Color values

HEX#FE87FA
RGBrgb(254, 135, 250)
HSLhsl(302, 98%, 76%)
HSVhsv(302, 47%, 100%)
CMYKcmyk(0%, 46.9%, 1.6%, 0.4%)
CIE-LABlab(73.09, 60.51, -37.94)
CIE-LCHlch(73.09, 71.42, 327.91°)
OKLaboklab(79.29% 0.1693 -0.1038)
OKLCHoklch(79.29% 0.199 328.5)
XYZxyz(66.7914, 45.3046, 95.6505)
Luminance0.4530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE87FA #87FE8B
analogous
#C787FE #FE87FA #FE87BF
triadic
#FE87FA #FAFE87 #87FAFE
tetradic
#FE87FA #FEC787 #87FE8B #87BFFE
square
#FE87FA #FEC787 #87FE8B #87BFFE
split-complementary
#FE87FA #BFFE87 #87FEC7
monochromatic
#FD0EF5 #FD4AF7 #FE87FA #FFC4FD #FFE1FE

Accessibility & contrast

On white

2.09
#FE87FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#FE87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE87FA
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE87FA#FFFFFF#000000##000000
##FE87FA1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FE
Deuteranopia (green-blind)
#A1B9F6
Tritanopia (blue-blind)
#FF92B5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fe87fa;
/* rgb */ color: rgb(254, 135, 250);
/* oklch */ color: oklch(79.3% 0.199 328.5);
Tailwind
colors: {
  custom: {
    50: '#ffaefc',
    500: '#fe87fa',
    950: '#000000',
  },
}
SCSS
$custom: #fe87fa;
$custom-light: #ffaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#fe87fa",
  "rgb": {
    "r": 254,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 302.017,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79292,
    "c": 0.19856,
    "h": 328.5
  },
  "luminance": 0.45301
}

Semantic roles & 50–950 ramp

primary
#FE87FA
secondary
#D4F7D5
accent
#E60800
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FE87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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