#F871E4#F871E4

#F871E4 is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.7% C 0.211 H 333.5°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#F871E4
RGBrgb(248, 113, 228)
HSLhsl(309, 91%, 71%)
HSVhsv(309, 54%, 97%)
CMYKcmyk(0%, 54.4%, 8.1%, 2.7%)
CIE-LABlab(67.56, 65.45, -34.52)
CIE-LCHlch(67.56, 74.00, 332.19°)
OKLaboklab(74.74% 0.1884 -0.094)
OKLCHoklch(74.74% 0.211 333.5)
XYZxyz(58.6202, 37.3723, 77.5098)
Luminance0.3737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871E4 #71F885
analogous
#C871F8 #F871E4 #F871A0
triadic
#F871E4 #E4F871 #71E4F8
tetradic
#F871E4 #F8C871 #71F885 #71A0F8
square
#F871E4 #F8C871 #71F885 #71A0F8
split-complementary
#F871E4 #A0F871 #71F8C8
monochromatic
#E30BC3 #F537D9 #F871E4 #FBABEF #FEE2F9

Accessibility & contrast

On white

2.48
#F871E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#F871E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871E4
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871E4#FFFFFF#000000##000000
##F871E41.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F98E8
Deuteranopia (green-blind)
#97ACE0
Tritanopia (blue-blind)
#FF7AA1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f871e4;
/* rgb */ color: rgb(248, 113, 228);
/* oklch */ color: oklch(74.7% 0.211 333.5);
Tailwind
colors: {
  custom: {
    50: '#fda0ed',
    500: '#f871e4',
    950: '#000000',
  },
}
SCSS
$custom: #f871e4;
$custom-light: #fda0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f871e4",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 308.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74739,
    "c": 0.21052,
    "h": 333.5
  },
  "luminance": 0.37368
}

Semantic roles & 50–950 ramp

primary
#F871E4
secondary
#D0F5D6
accent
#E62200
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F871E4

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

Preview Lab → · Contrast checker → · Palette generator →

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