#FE87EF#FE87EF

#FE87EF is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.8% C 0.189 H 332.1°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#FE87EF
RGBrgb(254, 135, 239)
HSLhsl(308, 98%, 76%)
HSVhsv(308, 47%, 100%)
CMYKcmyk(0%, 46.9%, 5.9%, 0.4%)
CIE-LABlab(72.65, 58.66, -32.62)
CIE-LCHlch(72.65, 67.12, 330.92°)
OKLaboklab(78.82% 0.1673 -0.0887)
OKLCHoklch(78.82% 0.189 332.1)
XYZxyz(65.1166, 44.6347, 86.8302)
Luminance0.4463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE87EF #87FE96
analogous
#D287FE #FE87EF #FE87B4
triadic
#FE87EF #EFFE87 #87EFFE
tetradic
#FE87EF #FED287 #87FE96 #87B4FE
square
#FE87EF #FED287 #87FE96 #87B4FE
split-complementary
#FE87EF #B4FE87 #87FED2
monochromatic
#FD0EDF #FD4AE7 #FE87EF #FFC4F7 #FFE1FB

Accessibility & contrast

On white

2.12
#FE87EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#FE87EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE87EF
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE87EF#FFFFFF#000000##000000
##FE87EF1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F3
Deuteranopia (green-blind)
#A5B8EC
Tritanopia (blue-blind)
#FF8FB0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fe87ef;
/* rgb */ color: rgb(254, 135, 239);
/* oklch */ color: oklch(78.8% 0.189 332.1);
Tailwind
colors: {
  custom: {
    50: '#ffadf4',
    500: '#fe87ef',
    950: '#000000',
  },
}
SCSS
$custom: #fe87ef;
$custom-light: #ffadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#fe87ef",
  "rgb": {
    "r": 254,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 307.563,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78819,
    "c": 0.18929,
    "h": 332.1
  },
  "luminance": 0.44631
}

Semantic roles & 50–950 ramp

primary
#FE87EF
secondary
#D4F7D8
accent
#E61D00
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181117
muted
#868085

Preview Lab

Preview with #FE87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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