#FF87F8#FF87F8

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

Color values

HEX#FF87F8
RGBrgb(255, 135, 248)
HSLhsl(304, 100%, 76%)
HSVhsv(304, 47%, 100%)
CMYKcmyk(0%, 47.1%, 2.7%, 0%)
CIE-LABlab(73.13, 60.45, -36.77)
CIE-LCHlch(73.13, 70.76, 328.69°)
OKLaboklab(79.32% 0.17 -0.1004)
OKLCHoklch(79.32% 0.197 329.4)
XYZxyz(66.8464, 45.3690, 94.0249)
Luminance0.4536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF87F8 #87FF8E
analogous
#CA87FF #FF87F8 #FF87BC
triadic
#FF87F8 #F8FF87 #87F8FF
tetradic
#FF87F8 #FFCA87 #87FF8E #87BCFF
square
#FF87F8 #FFCA87 #87FF8E #87BCFF
split-complementary
#FF87F8 #BCFF87 #87FFCA
monochromatic
#FF0DF1 #FF4AF4 #FF87F8 #FFC4FC #FFE0FD

Accessibility & contrast

On white

2.08
#FF87F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#FF87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF87F8
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF87F8#FFFFFF#000000##000000
##FF87F81.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FC
Deuteranopia (green-blind)
#A2B9F4
Tritanopia (blue-blind)
#FF92B4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ff87f8;
/* rgb */ color: rgb(255, 135, 248);
/* oklch */ color: oklch(79.3% 0.197 329.4);
Tailwind
colors: {
  custom: {
    50: '#ffaefb',
    500: '#ff87f8',
    950: '#000000',
  },
}
SCSS
$custom: #ff87f8;
$custom-light: #ffaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff87f8",
  "rgb": {
    "r": 255,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 303.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79322,
    "c": 0.19748,
    "h": 329.4
  },
  "luminance": 0.45365
}

Semantic roles & 50–950 ramp

primary
#FF87F8
secondary
#D4F7D6
accent
#E60D00
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FF87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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