#FE87FC#FE87FC

#FE87FC is a light, highly saturated purple. Relative luminance 0.454; OKLCH L 79.4% C 0.200 H 327.9°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#FE87FC
RGBrgb(254, 135, 252)
HSLhsl(301, 98%, 76%)
HSVhsv(301, 47%, 100%)
CMYKcmyk(0%, 46.9%, 0.8%, 0.4%)
CIE-LABlab(73.17, 60.85, -38.90)
CIE-LCHlch(73.17, 72.22, 327.41°)
OKLaboklab(79.38% 0.1696 -0.1065)
OKLCHoklch(79.38% 0.2 327.9)
XYZxyz(67.1066, 45.4307, 97.3109)
Luminance0.4543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE87FC #87FE89
analogous
#C587FE #FE87FC #FE87C1
triadic
#FE87FC #FCFE87 #87FCFE
tetradic
#FE87FC #FEC587 #87FE89 #87C1FE
square
#FE87FC #FEC587 #87FE89 #87C1FE
split-complementary
#FE87FC #C1FE87 #87FEC5
monochromatic
#FD0EF9 #FD4AFA #FE87FC #FFC4FE #FFE1FE

Accessibility & contrast

On white

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

On black

10.09
#FE87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE87FC
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE87FC#FFFFFF#000000##000000
##FE87FC1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fe87fc;
/* rgb */ color: rgb(254, 135, 252);
/* oklch */ color: oklch(79.4% 0.200 327.9);
Tailwind
colors: {
  custom: {
    50: '#ffaefd',
    500: '#fe87fc',
    950: '#000000',
  },
}
SCSS
$custom: #fe87fc;
$custom-light: #ffaefd;
$custom-dark: #000000;
JSON
{
  "hex": "#fe87fc",
  "rgb": {
    "r": 254,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 301.008,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7938,
    "c": 0.20031,
    "h": 327.9
  },
  "luminance": 0.45427
}

Semantic roles & 50–950 ramp

primary
#FE87FC
secondary
#D4F7D5
accent
#E60400
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FE87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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