#FE87F6#FE87F6

#FE87F6 is a light, vivid purple. Relative luminance 0.451; OKLCH L 79.1% C 0.195 H 329.8°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#FE87F6
RGBrgb(254, 135, 246)
HSLhsl(304, 98%, 76%)
HSVhsv(304, 47%, 100%)
CMYKcmyk(0%, 46.9%, 3.1%, 0.4%)
CIE-LABlab(72.93, 59.83, -36.01)
CIE-LCHlch(72.93, 69.83, 328.96°)
OKLaboklab(79.12% 0.1686 -0.0983)
OKLCHoklch(79.12% 0.195 329.8)
XYZxyz(66.1708, 45.0564, 92.3823)
Luminance0.4505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE87F6 #87FE8F
analogous
#CB87FE #FE87F6 #FE87BB
triadic
#FE87F6 #F6FE87 #87F6FE
tetradic
#FE87F6 #FECB87 #87FE8F #87BBFE
square
#FE87F6 #FECB87 #87FE8F #87BBFE
split-complementary
#FE87F6 #BBFE87 #87FECB
monochromatic
#FD0EED #FD4AF1 #FE87F6 #FFC4FB #FFE1FD

Accessibility & contrast

On white

2.10
#FE87F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#FE87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE87F6
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE87F6#FFFFFF#000000##000000
##FE87F61.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FA
Deuteranopia (green-blind)
#A2B9F2
Tritanopia (blue-blind)
#FF91B3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fe87f6;
/* rgb */ color: rgb(254, 135, 246);
/* oklch */ color: oklch(79.1% 0.195 329.8);
Tailwind
colors: {
  custom: {
    50: '#ffaef9',
    500: '#fe87f6',
    950: '#000000',
  },
}
SCSS
$custom: #fe87f6;
$custom-light: #ffaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#fe87f6",
  "rgb": {
    "r": 254,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 304.034,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79117,
    "c": 0.19514,
    "h": 329.8
  },
  "luminance": 0.45053
}

Semantic roles & 50–950 ramp

primary
#FE87F6
secondary
#D4F7D6
accent
#E60F00
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FE87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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