#FE87F9#FE87F9

#FE87F9 is a light, vivid purple. Relative luminance 0.452; OKLCH L 79.2% C 0.198 H 328.8°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#FE87F9
RGBrgb(254, 135, 249)
HSLhsl(303, 98%, 76%)
HSVhsv(303, 47%, 100%)
CMYKcmyk(0%, 46.9%, 2%, 0.4%)
CIE-LABlab(73.05, 60.34, -37.46)
CIE-LCHlch(73.05, 71.02, 328.17°)
OKLaboklab(79.25% 0.1691 -0.1024)
OKLCHoklch(79.25% 0.198 328.8)
XYZxyz(66.6350, 45.2420, 94.8269)
Luminance0.4524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE87F9 #87FE8C
analogous
#C887FE #FE87F9 #FE87BE
triadic
#FE87F9 #F9FE87 #87F9FE
tetradic
#FE87F9 #FEC887 #87FE8C #87BEFE
square
#FE87F9 #FEC887 #87FE8C #87BEFE
split-complementary
#FE87F9 #BEFE87 #87FEC8
monochromatic
#FD0EF3 #FD4AF6 #FE87F9 #FFC4FC #FFE1FD

Accessibility & contrast

On white

2.09
#FE87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#FE87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE87F9
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE87F9#FFFFFF#000000##000000
##FE87F91.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FD
Deuteranopia (green-blind)
#A1B9F5
Tritanopia (blue-blind)
#FF92B5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fe87f9;
/* rgb */ color: rgb(254, 135, 249);
/* oklch */ color: oklch(79.2% 0.198 328.8);
Tailwind
colors: {
  custom: {
    50: '#ffaefb',
    500: '#fe87f9',
    950: '#000000',
  },
}
SCSS
$custom: #fe87f9;
$custom-light: #ffaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#fe87f9",
  "rgb": {
    "r": 254,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 302.521,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79248,
    "c": 0.19771,
    "h": 328.8
  },
  "luminance": 0.45238
}

Semantic roles & 50–950 ramp

primary
#FE87F9
secondary
#D4F7D5
accent
#E60A00
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FE87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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