#FF87F6#FF87F6

#FF87F6 is a light, vivid purple. Relative luminance 0.452; OKLCH L 79.2% C 0.196 H 330.1°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#FF87F6
RGBrgb(255, 135, 246)
HSLhsl(305, 100%, 76%)
HSVhsv(305, 47%, 100%)
CMYKcmyk(0%, 47.1%, 3.5%, 0%)
CIE-LABlab(73.05, 60.11, -35.81)
CIE-LCHlch(73.05, 69.97, 329.22°)
OKLaboklab(79.24% 0.1697 -0.0977)
OKLCHoklch(79.24% 0.196 330.1)
XYZxyz(66.5378, 45.2456, 92.3995)
Luminance0.4524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF87F6 #87FF90
analogous
#CC87FF #FF87F6 #FF87BA
triadic
#FF87F6 #F6FF87 #87F6FF
tetradic
#FF87F6 #FFCC87 #87FF90 #87BAFF
square
#FF87F6 #FFCC87 #87FF90 #87BAFF
split-complementary
#FF87F6 #BAFF87 #87FFCC
monochromatic
#FF0DED #FF4AF1 #FF87F6 #FFC4FB #FFE0FD

Accessibility & contrast

On white

2.09
#FF87F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#FF87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF87F6
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF87F6#FFFFFF#000000##000000
##FF87F61.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A9FA
Deuteranopia (green-blind)
#A3B9F2
Tritanopia (blue-blind)
#FF91B3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ff87f6;
/* rgb */ color: rgb(255, 135, 246);
/* oklch */ color: oklch(79.2% 0.196 330.1);
Tailwind
colors: {
  custom: {
    50: '#ffaef9',
    500: '#ff87f6',
    950: '#000000',
  },
}
SCSS
$custom: #ff87f6;
$custom-light: #ffaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#ff87f6",
  "rgb": {
    "r": 255,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 304.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79236,
    "c": 0.19578,
    "h": 330.1
  },
  "luminance": 0.45242
}

Semantic roles & 50–950 ramp

primary
#FF87F6
secondary
#D4F7D6
accent
#E61100
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FF87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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