#F871F7#F871F7

#F871F7 is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.6% C 0.226 H 327.8°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#F871F7
RGBrgb(248, 113, 247)
HSLhsl(300, 91%, 71%)
HSVhsv(300, 54%, 97%)
CMYKcmyk(0%, 54.4%, 0.4%, 2.7%)
CIE-LABlab(68.38, 68.54, -43.72)
CIE-LCHlch(68.38, 81.30, 327.47°)
OKLaboklab(75.61% 0.1911 -0.1203)
OKLCHoklch(75.61% 0.226 327.8)
XYZxyz(61.4041, 38.4858, 92.1719)
Luminance0.3848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871F7 #71F872
analogous
#B571F8 #F871F7 #F871B4
triadic
#F871F7 #F7F871 #71F7F8
tetradic
#F871F7 #F8B571 #71F872 #71B4F8
square
#F871F7 #F8B571 #71F872 #71B4F8
split-complementary
#F871F7 #B4F871 #71F8B5
monochromatic
#E30BE2 #F537F4 #F871F7 #FBABFA #FEE2FD

Accessibility & contrast

On white

2.41
#F871F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#F871F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871F7
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871F7#FFFFFF#000000##000000
##F871F71.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFB
Deuteranopia (green-blind)
#8FADF3
Tritanopia (blue-blind)
#FF80AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f871f7;
/* rgb */ color: rgb(248, 113, 247);
/* oklch */ color: oklch(75.6% 0.226 327.8);
Tailwind
colors: {
  custom: {
    50: '#fda0fa',
    500: '#f871f7',
    950: '#000000',
  },
}
SCSS
$custom: #f871f7;
$custom-light: #fda0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f871f7",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 300.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75611,
    "c": 0.22576,
    "h": 327.8
  },
  "luminance": 0.38482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F871F7

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

Preview Lab → · Contrast checker → · Palette generator →

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