#FF87EC#FF87EC

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

Color values

HEX#FF87EC
RGBrgb(255, 135, 236)
HSLhsl(310, 100%, 76%)
HSVhsv(310, 47%, 100%)
CMYKcmyk(0%, 47.1%, 7.5%, 0%)
CIE-LABlab(72.66, 58.46, -30.96)
CIE-LCHlch(72.66, 66.15, 332.10°)
OKLaboklab(78.81% 0.1677 -0.0839)
OKLCHoklch(78.81% 0.188 333.4)
XYZxyz(65.0441, 44.6481, 84.5326)
Luminance0.4464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF87EC #87FF9A
analogous
#D687FF #FF87EC #FF87B0
triadic
#FF87EC #ECFF87 #87ECFF
tetradic
#FF87EC #FFD687 #87FF9A #87B0FF
square
#FF87EC #FFD687 #87FF9A #87B0FF
split-complementary
#FF87EC #B0FF87 #87FFD6
monochromatic
#FF0DD9 #FF4AE2 #FF87EC #FFC4F6 #FFE0FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FF87EC#FFFFFF#000000##000000
##FF87EC1.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)
#85A7EF
Deuteranopia (green-blind)
#A7B9E9
Tritanopia (blue-blind)
#FF8EAF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ff87ec;
/* rgb */ color: rgb(255, 135, 236);
/* oklch */ color: oklch(78.8% 0.188 333.4);
Tailwind
colors: {
  custom: {
    50: '#ffadf2',
    500: '#ff87ec',
    950: '#000000',
  },
}
SCSS
$custom: #ff87ec;
$custom-light: #ffadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff87ec",
  "rgb": {
    "r": 255,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 309.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78814,
    "c": 0.18753,
    "h": 333.4
  },
  "luminance": 0.44644
}

Semantic roles & 50–950 ramp

primary
#FF87EC
secondary
#D4F7D9
accent
#E62400
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181117
muted
#868085

Preview Lab

Preview with #FF87EC

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

Preview Lab → · Contrast checker → · Palette generator →

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