#F871E9#F871E9

#F871E9 is a light, highly saturated purple. Relative luminance 0.377; OKLCH L 75.0% C 0.214 H 331.9°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#F871E9
RGBrgb(248, 113, 233)
HSLhsl(307, 91%, 71%)
HSVhsv(307, 54%, 97%)
CMYKcmyk(0%, 54.4%, 6%, 2.7%)
CIE-LABlab(67.76, 66.25, -36.96)
CIE-LCHlch(67.76, 75.86, 330.84°)
OKLaboklab(74.96% 0.1892 -0.1009)
OKLCHoklch(74.96% 0.214 331.9)
XYZxyz(59.3243, 37.6539, 81.2183)
Luminance0.3765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871E9 #71F880
analogous
#C471F8 #F871E9 #F871A5
triadic
#F871E9 #E9F871 #71E9F8
tetradic
#F871E9 #F8C471 #71F880 #71A5F8
square
#F871E9 #F8C471 #71F880 #71A5F8
split-complementary
#F871E9 #A5F871 #71F8C4
monochromatic
#E30BCB #F537E0 #F871E9 #FBABF2 #FEE2FA

Accessibility & contrast

On white

2.46
#F871E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#F871E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871E9
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871E9#FFFFFF#000000##000000
##F871E91.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99ED
Deuteranopia (green-blind)
#95ACE5
Tritanopia (blue-blind)
#FF7CA3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f871e9;
/* rgb */ color: rgb(248, 113, 233);
/* oklch */ color: oklch(75.0% 0.214 331.9);
Tailwind
colors: {
  custom: {
    50: '#fda0f0',
    500: '#f871e9',
    950: '#000000',
  },
}
SCSS
$custom: #f871e9;
$custom-light: #fda0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#f871e9",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 306.667,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74961,
    "c": 0.21442,
    "h": 331.9
  },
  "luminance": 0.3765
}

Semantic roles & 50–950 ramp

primary
#F871E9
secondary
#D0F5D4
accent
#E61A00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F871E9

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

Preview Lab → · Contrast checker → · Palette generator →

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