#FF87F7#FF87F7

#FF87F7 is a light, vivid purple. Relative luminance 0.453; OKLCH L 79.3% C 0.197 H 329.7°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#FF87F7
RGBrgb(255, 135, 247)
HSLhsl(304, 100%, 76%)
HSVhsv(304, 47%, 100%)
CMYKcmyk(0%, 47.1%, 3.1%, 0%)
CIE-LABlab(73.09, 60.28, -36.29)
CIE-LCHlch(73.09, 70.36, 328.95°)
OKLaboklab(79.28% 0.1699 -0.0991)
OKLCHoklch(79.28% 0.197 329.7)
XYZxyz(66.6917, 45.3072, 93.2100)
Luminance0.4530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF87F7 #87FF8F
analogous
#CB87FF #FF87F7 #FF87BB
triadic
#FF87F7 #F7FF87 #87F7FF
tetradic
#FF87F7 #FFCB87 #87FF8F #87BBFF
square
#FF87F7 #FFCB87 #87FF8F #87BBFF
split-complementary
#FF87F7 #BBFF87 #87FFCB
monochromatic
#FF0DEF #FF4AF3 #FF87F7 #FFC4FB #FFE0FD

Accessibility & contrast

On white

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

On black

10.06
#FF87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF87F7
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF87F7#FFFFFF#000000##000000
##FF87F71.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FB
Deuteranopia (green-blind)
#A3B9F3
Tritanopia (blue-blind)
#FF91B4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ff87f7;
/* rgb */ color: rgb(255, 135, 247);
/* oklch */ color: oklch(79.3% 0.197 329.7);
Tailwind
colors: {
  custom: {
    50: '#ffaefa',
    500: '#ff87f7',
    950: '#000000',
  },
}
SCSS
$custom: #ff87f7;
$custom-light: #ffaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#ff87f7",
  "rgb": {
    "r": 255,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 304,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79279,
    "c": 0.19663,
    "h": 329.7
  },
  "luminance": 0.45303
}

Semantic roles & 50–950 ramp

primary
#FF87F7
secondary
#D4F7D6
accent
#E60F00
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FF87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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