#F871F5#F871F5

#F871F5 is a light, highly saturated purple. Relative luminance 0.384; OKLCH L 75.5% C 0.224 H 328.4°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#F871F5
RGBrgb(248, 113, 245)
HSLhsl(301, 91%, 71%)
HSVhsv(301, 54%, 97%)
CMYKcmyk(0%, 54.4%, 1.2%, 2.7%)
CIE-LABlab(68.29, 68.21, -42.76)
CIE-LCHlch(68.29, 80.50, 327.92°)
OKLaboklab(75.52% 0.1908 -0.1175)
OKLCHoklch(75.52% 0.224 328.4)
XYZxyz(61.0972, 38.3631, 90.5552)
Luminance0.3836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871F5 #71F874
analogous
#B771F8 #F871F5 #F871B1
triadic
#F871F5 #F5F871 #71F5F8
tetradic
#F871F5 #F8B771 #71F874 #71B1F8
square
#F871F5 #F8B771 #71F874 #71B1F8
split-complementary
#F871F5 #B1F871 #71F8B7
monochromatic
#E30BDF #F537F1 #F871F5 #FBABF9 #FEE2FD

Accessibility & contrast

On white

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

On black

8.67
#F871F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871F5
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871F5#FFFFFF#000000##000000
##F871F51.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF9
Deuteranopia (green-blind)
#90ADF1
Tritanopia (blue-blind)
#FF80A9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f871f5;
/* rgb */ color: rgb(248, 113, 245);
/* oklch */ color: oklch(75.5% 0.224 328.4);
Tailwind
colors: {
  custom: {
    50: '#fda0f9',
    500: '#f871f5',
    950: '#000000',
  },
}
SCSS
$custom: #f871f5;
$custom-light: #fda0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f871f5",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 301.333,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75516,
    "c": 0.2241,
    "h": 328.4
  },
  "luminance": 0.38359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F871F5

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

Preview Lab → · Contrast checker → · Palette generator →

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