#F871FC#F871FC

#F871FC is a light, highly saturated purple. Relative luminance 0.388; OKLCH L 75.9% C 0.230 H 326.4°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#F871FC
RGBrgb(248, 113, 252)
HSLhsl(298, 96%, 72%)
HSVhsv(298, 55%, 99%)
CMYKcmyk(1.6%, 55.2%, 0%, 1.2%)
CIE-LABlab(68.61, 69.39, -46.10)
CIE-LCHlch(68.61, 83.31, 326.40°)
OKLaboklab(75.85% 0.1916 -0.1271)
OKLCHoklch(75.85% 0.23 326.4)
XYZxyz(62.1860, 38.7986, 96.2900)
Luminance0.3880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871FC #75FC71
analogous
#B371FC #F871FC #FC71BB
triadic
#F871FC #FCF871 #71FCF8
tetradic
#F871FC #FCB371 #75FC71 #71BBFC
square
#F871FC #FCB371 #75FC71 #71BBFC
split-complementary
#F871FC #BBFC71 #71FCB3
monochromatic
#E705EE #F535FB #F871FC #FBADFD #FEE1FE

Accessibility & contrast

On white

2.40
#F871FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#F871FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871FC
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871FC#FFFFFF#000000##000000
##F871FC1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#8DADF8
Tritanopia (blue-blind)
#FE82AC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f871fc;
/* rgb */ color: rgb(248, 113, 252);
/* oklch */ color: oklch(75.9% 0.230 326.4);
Tailwind
colors: {
  custom: {
    50: '#fda0fe',
    500: '#f871fc',
    950: '#000000',
  },
}
SCSS
$custom: #f871fc;
$custom-light: #fda0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f871fc",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 298.273,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75852,
    "c": 0.22993,
    "h": 326.4
  },
  "luminance": 0.38795
}

Semantic roles & 50–950 ramp

primary
#F871FC
secondary
#D4F6D3
accent
#E60007
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F871FC

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

Preview Lab → · Contrast checker → · Palette generator →

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