#F871EF#F871EF

#F871EF is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 75.2% C 0.219 H 330.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#F871EF
RGBrgb(248, 113, 239)
HSLhsl(304, 91%, 71%)
HSVhsv(304, 54%, 97%)
CMYKcmyk(0%, 54.4%, 3.6%, 2.7%)
CIE-LABlab(68.02, 67.22, -39.87)
CIE-LCHlch(68.02, 78.15, 329.33°)
OKLaboklab(75.24% 0.1901 -0.1092)
OKLCHoklch(75.24% 0.219 330.1)
XYZxyz(60.1960, 38.0026, 85.8093)
Luminance0.3800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871EF #71F87A
analogous
#BD71F8 #F871EF #F871AB
triadic
#F871EF #EFF871 #71EFF8
tetradic
#F871EF #F8BD71 #71F87A #71ABF8
square
#F871EF #F8BD71 #71F87A #71ABF8
split-complementary
#F871EF #ABF871 #71F8BD
monochromatic
#E30BD5 #F537E8 #F871EF #FBABF6 #FEE2FC

Accessibility & contrast

On white

2.44
#F871EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#F871EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871EF
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871EF#FFFFFF#000000##000000
##F871EF1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#93ACEB
Tritanopia (blue-blind)
#FF7EA6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f871ef;
/* rgb */ color: rgb(248, 113, 239);
/* oklch */ color: oklch(75.2% 0.219 330.1);
Tailwind
colors: {
  custom: {
    50: '#fda0f4',
    500: '#f871ef',
    950: '#000000',
  },
}
SCSS
$custom: #f871ef;
$custom-light: #fda0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f871ef",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 304,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75235,
    "c": 0.2192,
    "h": 330.1
  },
  "luminance": 0.37999
}

Semantic roles & 50–950 ramp

primary
#F871EF
secondary
#D0F5D3
accent
#E60F00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F871EF

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

Preview Lab → · Contrast checker → · Palette generator →

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