#FF87F2#FF87F2

#FF87F2 is a light, vivid purple. Relative luminance 0.450; OKLCH L 79.1% C 0.192 H 331.4°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#FF87F2
RGBrgb(255, 135, 242)
HSLhsl(307, 100%, 76%)
HSVhsv(307, 47%, 100%)
CMYKcmyk(0%, 47.1%, 5.1%, 0%)
CIE-LABlab(72.89, 59.45, -33.87)
CIE-LCHlch(72.89, 68.42, 330.32°)
OKLaboklab(79.07% 0.1689 -0.0922)
OKLCHoklch(79.07% 0.192 331.4)
XYZxyz(65.9305, 45.0027, 89.2009)
Luminance0.4500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF87F2 #87FF94
analogous
#D087FF #FF87F2 #FF87B6
triadic
#FF87F2 #F2FF87 #87F2FF
tetradic
#FF87F2 #FFD087 #87FF94 #87B6FF
square
#FF87F2 #FFD087 #87FF94 #87B6FF
split-complementary
#FF87F2 #B6FF87 #87FFD0
monochromatic
#FF0DE5 #FF4AEB #FF87F2 #FFC4F9 #FFE0FC

Accessibility & contrast

On white

2.10
#FF87F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#FF87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF87F2
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF87F2#FFFFFF#000000##000000
##FF87F21.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F6
Deuteranopia (green-blind)
#A4B9EE
Tritanopia (blue-blind)
#FF90B1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ff87f2;
/* rgb */ color: rgb(255, 135, 242);
/* oklch */ color: oklch(79.1% 0.192 331.4);
Tailwind
colors: {
  custom: {
    50: '#ffaef6',
    500: '#ff87f2',
    950: '#000000',
  },
}
SCSS
$custom: #ff87f2;
$custom-light: #ffaef6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff87f2",
  "rgb": {
    "r": 255,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 306.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79065,
    "c": 0.19244,
    "h": 331.4
  },
  "luminance": 0.44999
}

Semantic roles & 50–950 ramp

primary
#FF87F2
secondary
#D4F7D8
accent
#E61900
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#181117
muted
#868085

Preview Lab

Preview with #FF87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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