#FE87EC#FE87EC

#FE87EC is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.7% C 0.187 H 333.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#FE87EC
RGBrgb(254, 135, 236)
HSLhsl(309, 98%, 76%)
HSVhsv(309, 47%, 100%)
CMYKcmyk(0%, 46.9%, 7.1%, 0.4%)
CIE-LABlab(72.53, 58.17, -31.16)
CIE-LCHlch(72.53, 65.99, 331.83°)
OKLaboklab(78.69% 0.1666 -0.0845)
OKLCHoklch(78.69% 0.187 333.1)
XYZxyz(64.6771, 44.4589, 84.5154)
Luminance0.4446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE87EC #87FE99
analogous
#D587FE #FE87EC #FE87B1
triadic
#FE87EC #ECFE87 #87ECFE
tetradic
#FE87EC #FED587 #87FE99 #87B1FE
square
#FE87EC #FED587 #87FE99 #87B1FE
split-complementary
#FE87EC #B1FE87 #87FED5
monochromatic
#FD0ED9 #FD4AE2 #FE87EC #FFC4F6 #FFE1FA

Accessibility & contrast

On white

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

On black

9.89
#FE87EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE87EC
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE87EC#FFFFFF#000000##000000
##FE87EC1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#A6B8E9
Tritanopia (blue-blind)
#FF8EAF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fe87ec;
/* rgb */ color: rgb(254, 135, 236);
/* oklch */ color: oklch(78.7% 0.187 333.1);
Tailwind
colors: {
  custom: {
    50: '#ffadf2',
    500: '#fe87ec',
    950: '#000000',
  },
}
SCSS
$custom: #fe87ec;
$custom-light: #ffadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#fe87ec",
  "rgb": {
    "r": 254,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 309.076,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78694,
    "c": 0.18684,
    "h": 333.1
  },
  "luminance": 0.44455
}

Semantic roles & 50–950 ramp

primary
#FE87EC
secondary
#D4F7D9
accent
#E62300
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181117
muted
#868085

Preview Lab

Preview with #FE87EC

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

Preview Lab → · Contrast checker → · Palette generator →

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