#FE87F7#FE87F7

#FE87F7 is a light, vivid purple. Relative luminance 0.451; OKLCH L 79.2% C 0.196 H 329.4°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#FE87F7
RGBrgb(254, 135, 247)
HSLhsl(304, 98%, 76%)
HSVhsv(304, 47%, 100%)
CMYKcmyk(0%, 46.9%, 2.8%, 0.4%)
CIE-LABlab(72.97, 60.00, -36.50)
CIE-LCHlch(72.97, 70.23, 328.69°)
OKLaboklab(79.16% 0.1688 -0.0997)
OKLCHoklch(79.16% 0.196 329.4)
XYZxyz(66.3247, 45.1179, 93.1928)
Luminance0.4511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE87F7 #87FE8E
analogous
#CA87FE #FE87F7 #FE87BC
triadic
#FE87F7 #F7FE87 #87F7FE
tetradic
#FE87F7 #FECA87 #87FE8E #87BCFE
square
#FE87F7 #FECA87 #87FE8E #87BCFE
split-complementary
#FE87F7 #BCFE87 #87FECA
monochromatic
#FD0EEF #FD4AF3 #FE87F7 #FFC4FB #FFE1FD

Accessibility & contrast

On white

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

On black

10.02
#FE87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE87F7
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE87F7#FFFFFF#000000##000000
##FE87F71.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FB
Deuteranopia (green-blind)
#A2B9F3
Tritanopia (blue-blind)
#FF91B4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fe87f7;
/* rgb */ color: rgb(254, 135, 247);
/* oklch */ color: oklch(79.2% 0.196 329.4);
Tailwind
colors: {
  custom: {
    50: '#ffaefa',
    500: '#fe87f7',
    950: '#000000',
  },
}
SCSS
$custom: #fe87f7;
$custom-light: #ffaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#fe87f7",
  "rgb": {
    "r": 254,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 303.529,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7916,
    "c": 0.196,
    "h": 329.4
  },
  "luminance": 0.45114
}

Semantic roles & 50–950 ramp

primary
#FE87F7
secondary
#D4F7D6
accent
#E60D00
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FE87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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