#FE87F5#FE87F5

#FE87F5 is a light, vivid purple. Relative luminance 0.450; OKLCH L 79.1% C 0.194 H 330.1°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#FE87F5
RGBrgb(254, 135, 245)
HSLhsl(305, 98%, 76%)
HSVhsv(305, 47%, 100%)
CMYKcmyk(0%, 46.9%, 3.5%, 0.4%)
CIE-LABlab(72.89, 59.66, -35.53)
CIE-LCHlch(72.89, 69.44, 329.23°)
OKLaboklab(79.07% 0.1684 -0.0969)
OKLCHoklch(79.07% 0.194 330.1)
XYZxyz(66.0178, 44.9951, 91.5761)
Luminance0.4499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE87F5 #87FE90
analogous
#CC87FE #FE87F5 #FE87BA
triadic
#FE87F5 #F5FE87 #87F5FE
tetradic
#FE87F5 #FECC87 #87FE90 #87BAFE
square
#FE87F5 #FECC87 #87FE90 #87BAFE
split-complementary
#FE87F5 #BAFE87 #87FECC
monochromatic
#FD0EEB #FD4AF0 #FE87F5 #FFC4FA #FFE1FC

Accessibility & contrast

On white

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

On black

10.00
#FE87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE87F5
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE87F5#FFFFFF#000000##000000
##FE87F51.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A9F9
Deuteranopia (green-blind)
#A3B9F1
Tritanopia (blue-blind)
#FF91B3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fe87f5;
/* rgb */ color: rgb(254, 135, 245);
/* oklch */ color: oklch(79.1% 0.194 330.1);
Tailwind
colors: {
  custom: {
    50: '#ffaef8',
    500: '#fe87f5',
    950: '#000000',
  },
}
SCSS
$custom: #fe87f5;
$custom-light: #ffaef8;
$custom-dark: #000000;
JSON
{
  "hex": "#fe87f5",
  "rgb": {
    "r": 254,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 304.538,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79074,
    "c": 0.19429,
    "h": 330.1
  },
  "luminance": 0.44991
}

Semantic roles & 50–950 ramp

primary
#FE87F5
secondary
#D4F7D7
accent
#E61100
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FE87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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