#F871FD#F871FD

#F871FD is a light, highly saturated purple. Relative luminance 0.389; OKLCH L 75.9% C 0.231 H 326.2°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#F871FD
RGBrgb(248, 113, 253)
HSLhsl(298, 97%, 72%)
HSVhsv(298, 55%, 99%)
CMYKcmyk(2%, 55.3%, 0%, 0.8%)
CIE-LABlab(68.65, 69.56, -46.58)
CIE-LCHlch(68.65, 83.71, 326.19°)
OKLaboklab(75.9% 0.1917 -0.1285)
OKLCHoklch(75.9% 0.231 326.2)
XYZxyz(62.3449, 38.8622, 97.1268)
Luminance0.3886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871FD #76FD71
analogous
#B271FD #F871FD #FD71BC
triadic
#F871FD #FDF871 #71FDF8
tetradic
#F871FD #FDB271 #76FD71 #71BCFD
square
#F871FD #FDB271 #76FD71 #71BCFD
split-complementary
#F871FD #BCFD71 #71FDB2
monochromatic
#E803F0 #F535FC #F871FD #FBADFE #FEE1FF

Accessibility & contrast

On white

2.39
#F871FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#F871FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871FD
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871FD#FFFFFF#000000##000000
##F871FD1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#8CADF9
Tritanopia (blue-blind)
#FE82AD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f871fd;
/* rgb */ color: rgb(248, 113, 253);
/* oklch */ color: oklch(75.9% 0.231 326.2);
Tailwind
colors: {
  custom: {
    50: '#fda0fe',
    500: '#f871fd',
    950: '#000000',
  },
}
SCSS
$custom: #f871fd;
$custom-light: #fda0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f871fd",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 297.857,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75901,
    "c": 0.23077,
    "h": 326.2
  },
  "luminance": 0.38859
}

Semantic roles & 50–950 ramp

primary
#F871FD
secondary
#D4F7D3
accent
#E60008
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F871FD

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

Preview Lab → · Contrast checker → · Palette generator →

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