#FE87F1#FE87F1

#FE87F1 is a light, vivid purple. Relative luminance 0.448; OKLCH L 78.9% C 0.191 H 331.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#FE87F1
RGBrgb(254, 135, 241)
HSLhsl(307, 98%, 76%)
HSVhsv(307, 47%, 100%)
CMYKcmyk(0%, 46.9%, 5.1%, 0.4%)
CIE-LABlab(72.73, 58.99, -33.59)
CIE-LCHlch(72.73, 67.89, 330.34°)
OKLaboklab(78.9% 0.1676 -0.0914)
OKLCHoklch(78.9% 0.191 331.4)
XYZxyz(65.4137, 44.7535, 88.3949)
Luminance0.4475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE87F1 #87FE94
analogous
#D087FE #FE87F1 #FE87B6
triadic
#FE87F1 #F1FE87 #87F1FE
tetradic
#FE87F1 #FED087 #87FE94 #87B6FE
square
#FE87F1 #FED087 #87FE94 #87B6FE
split-complementary
#FE87F1 #B6FE87 #87FED0
monochromatic
#FD0EE3 #FD4AEA #FE87F1 #FFC4F8 #FFE1FB

Accessibility & contrast

On white

2.11
#FE87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#FE87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE87F1
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE87F1#FFFFFF#000000##000000
##FE87F11.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F5
Deuteranopia (green-blind)
#A4B9EE
Tritanopia (blue-blind)
#FF90B1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fe87f1;
/* rgb */ color: rgb(254, 135, 241);
/* oklch */ color: oklch(78.9% 0.191 331.4);
Tailwind
colors: {
  custom: {
    50: '#ffadf6',
    500: '#fe87f1',
    950: '#000000',
  },
}
SCSS
$custom: #fe87f1;
$custom-light: #ffadf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fe87f1",
  "rgb": {
    "r": 254,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 306.555,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78903,
    "c": 0.19094,
    "h": 331.4
  },
  "luminance": 0.4475
}

Semantic roles & 50–950 ramp

primary
#FE87F1
secondary
#D4F7D8
accent
#E61900
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#181117
muted
#868085

Preview Lab

Preview with #FE87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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