#F871F6#F871F6

#F871F6 is a light, highly saturated purple. Relative luminance 0.384; OKLCH L 75.6% C 0.225 H 328.1°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#F871F6
RGBrgb(248, 113, 246)
HSLhsl(301, 91%, 71%)
HSVhsv(301, 54%, 97%)
CMYKcmyk(0%, 54.4%, 0.8%, 2.7%)
CIE-LABlab(68.33, 68.38, -43.24)
CIE-LCHlch(68.33, 80.90, 327.69°)
OKLaboklab(75.56% 0.1909 -0.1189)
OKLCHoklch(75.56% 0.225 328.1)
XYZxyz(61.2502, 38.4243, 91.3614)
Luminance0.3842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871F6 #71F873
analogous
#B671F8 #F871F6 #F871B2
triadic
#F871F6 #F6F871 #71F6F8
tetradic
#F871F6 #F8B671 #71F873 #71B2F8
square
#F871F6 #F8B671 #71F873 #71B2F8
split-complementary
#F871F6 #B2F871 #71F8B6
monochromatic
#E30BE0 #F537F2 #F871F6 #FBABFA #FEE2FD

Accessibility & contrast

On white

2.42
#F871F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#F871F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871F6
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871F6#FFFFFF#000000##000000
##F871F61.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFA
Deuteranopia (green-blind)
#90ADF2
Tritanopia (blue-blind)
#FF80A9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f871f6;
/* rgb */ color: rgb(248, 113, 246);
/* oklch */ color: oklch(75.6% 0.225 328.1);
Tailwind
colors: {
  custom: {
    50: '#fda0f9',
    500: '#f871f6',
    950: '#000000',
  },
}
SCSS
$custom: #f871f6;
$custom-light: #fda0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f871f6",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 300.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75563,
    "c": 0.22493,
    "h": 328.1
  },
  "luminance": 0.38421
}

Semantic roles & 50–950 ramp

primary
#F871F6
secondary
#D0F5D1
accent
#E60300
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F871F6

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

Preview Lab → · Contrast checker → · Palette generator →

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