#FF87FF#FF87FF

#FF87FF is a light, highly saturated purple. Relative luminance 0.458; OKLCH L 79.6% C 0.204 H 327.3°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#FF87FF
RGBrgb(255, 135, 255)
HSLhsl(300, 100%, 76%)
HSVhsv(300, 47%, 100%)
CMYKcmyk(0%, 47.1%, 0%, 0%)
CIE-LABlab(73.42, 61.64, -40.13)
CIE-LCHlch(73.42, 73.56, 326.93°)
OKLaboklab(79.63% 0.1712 -0.11)
OKLCHoklch(79.63% 0.204 327.3)
XYZxyz(67.9528, 45.8116, 99.8516)
Luminance0.4581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF87FF #87FF87
analogous
#C387FF #FF87FF #FF87C3
triadic
#FF87FF #FFFF87 #87FFFF
tetradic
#FF87FF #FFC387 #87FF87 #87C3FF
square
#FF87FF #FFC387 #87FF87 #87C3FF
split-complementary
#FF87FF #C3FF87 #87FFC3
monochromatic
#FF0DFF #FF4AFF #FF87FF #FFC4FF #FFE0FF

Accessibility & contrast

On white

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

On black

10.16
#FF87FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF87FF
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF87FF#FFFFFF#000000##000000
##FF87FF1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#9FBAFB
Tritanopia (blue-blind)
#FF94B7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ff87ff;
/* rgb */ color: rgb(255, 135, 255);
/* oklch */ color: oklch(79.6% 0.204 327.3);
Tailwind
colors: {
  custom: {
    50: '#ffaeff',
    500: '#ff87ff',
    950: '#000000',
  },
}
SCSS
$custom: #ff87ff;
$custom-light: #ffaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff87ff",
  "rgb": {
    "r": 255,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79631,
    "c": 0.20352,
    "h": 327.3
  },
  "luminance": 0.45808
}

Semantic roles & 50–950 ramp

primary
#FF87FF
secondary
#D4F7D4
accent
#E60000
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #FF87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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