#FF87FC#FF87FC

#FF87FC is a light, highly saturated purple. Relative luminance 0.456; OKLCH L 79.5% C 0.201 H 328.2°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#FF87FC
RGBrgb(255, 135, 252)
HSLhsl(302, 100%, 76%)
HSVhsv(302, 47%, 100%)
CMYKcmyk(0%, 47.1%, 1.2%, 0%)
CIE-LABlab(73.30, 61.13, -38.70)
CIE-LCHlch(73.30, 72.35, 327.66°)
OKLaboklab(79.5% 0.1707 -0.1059)
OKLCHoklch(79.5% 0.201 328.2)
XYZxyz(67.4736, 45.6199, 97.3281)
Luminance0.4562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF87FC #87FF8A
analogous
#C687FF #FF87FC #FF87C0
triadic
#FF87FC #FCFF87 #87FCFF
tetradic
#FF87FC #FFC687 #87FF8A #87C0FF
square
#FF87FC #FFC687 #87FF8A #87C0FF
split-complementary
#FF87FC #C0FF87 #87FFC6
monochromatic
#FF0DF9 #FF4AFA #FF87FC #FFC4FE #FFE0FE

Accessibility & contrast

On white

2.07
#FF87FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#FF87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF87FC
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF87FC#FFFFFF#000000##000000
##FF87FC1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#A0BAF8
Tritanopia (blue-blind)
#FF93B6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ff87fc;
/* rgb */ color: rgb(255, 135, 252);
/* oklch */ color: oklch(79.5% 0.201 328.2);
Tailwind
colors: {
  custom: {
    50: '#ffaefd',
    500: '#ff87fc',
    950: '#000000',
  },
}
SCSS
$custom: #ff87fc;
$custom-light: #ffaefd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff87fc",
  "rgb": {
    "r": 255,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 301.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79498,
    "c": 0.20091,
    "h": 328.2
  },
  "luminance": 0.45616
}

Semantic roles & 50–950 ramp

primary
#FF87FC
secondary
#D4F7D5
accent
#E60600
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FF87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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