#F871FE#F871FE

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

Color values

HEX#F871FE
RGBrgb(248, 113, 254)
HSLhsl(297, 99%, 72%)
HSVhsv(297, 56%, 100%)
CMYKcmyk(2.4%, 55.5%, 0%, 0.4%)
CIE-LABlab(68.70, 69.73, -47.05)
CIE-LCHlch(68.70, 84.12, 325.99°)
OKLaboklab(75.95% 0.1918 -0.1299)
OKLCHoklch(75.95% 0.232 325.9)
XYZxyz(62.5046, 38.9260, 97.9679)
Luminance0.3892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871FE #77FE71
analogous
#B271FE #F871FE #FE71BE
triadic
#F871FE #FEF871 #71FEF8
tetradic
#F871FE #FEB271 #77FE71 #71BEFE
square
#F871FE #FEB271 #77FE71 #71BEFE
split-complementary
#F871FE #BEFE71 #71FEB2
monochromatic
#E902F3 #F534FE #F871FE #FBAEFE #FEE1FF

Accessibility & contrast

On white

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

On black

8.78
#F871FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871FE
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871FE#FFFFFF#000000##000000
##F871FE1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#8CAEFA
Tritanopia (blue-blind)
#FE83AD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f871fe;
/* rgb */ color: rgb(248, 113, 254);
/* oklch */ color: oklch(75.9% 0.232 325.9);
Tailwind
colors: {
  custom: {
    50: '#fda0ff',
    500: '#f871fe',
    950: '#000000',
  },
}
SCSS
$custom: #f871fe;
$custom-light: #fda0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f871fe",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 297.447,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7595,
    "c": 0.23162,
    "h": 325.9
  },
  "luminance": 0.38922
}

Semantic roles & 50–950 ramp

primary
#F871FE
secondary
#D5F7D4
accent
#E6000A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F871FE

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

Preview Lab → · Contrast checker → · Palette generator →

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