#FE87F2#FE87F2

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

Color values

HEX#FE87F2
RGBrgb(254, 135, 242)
HSLhsl(306, 98%, 76%)
HSVhsv(306, 47%, 100%)
CMYKcmyk(0%, 46.9%, 4.7%, 0.4%)
CIE-LABlab(72.77, 59.16, -34.08)
CIE-LCHlch(72.77, 68.27, 330.06°)
OKLaboklab(78.95% 0.1678 -0.0928)
OKLCHoklch(78.95% 0.192 331.1)
XYZxyz(65.5635, 44.8134, 89.1837)
Luminance0.4481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE87F2 #87FE93
analogous
#CF87FE #FE87F2 #FE87B7
triadic
#FE87F2 #F2FE87 #87F2FE
tetradic
#FE87F2 #FECF87 #87FE93 #87B7FE
square
#FE87F2 #FECF87 #87FE93 #87B7FE
split-complementary
#FE87F2 #B7FE87 #87FECF
monochromatic
#FD0EE5 #FD4AEB #FE87F2 #FFC4F9 #FFE1FC

Accessibility & contrast

On white

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

On black

9.96
#FE87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE87F2
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE87F2#FFFFFF#000000##000000
##FE87F21.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#A4B9EE
Tritanopia (blue-blind)
#FF90B1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fe87f2;
/* rgb */ color: rgb(254, 135, 242);
/* oklch */ color: oklch(78.9% 0.192 331.1);
Tailwind
colors: {
  custom: {
    50: '#ffadf6',
    500: '#fe87f2',
    950: '#000000',
  },
}
SCSS
$custom: #fe87f2;
$custom-light: #ffadf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fe87f2",
  "rgb": {
    "r": 254,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 306.05,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78946,
    "c": 0.19178,
    "h": 331.1
  },
  "luminance": 0.4481
}

Semantic roles & 50–950 ramp

primary
#FE87F2
secondary
#D4F7D7
accent
#E61700
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#181117
muted
#868085

Preview Lab

Preview with #FE87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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