#F871EE#F871EE

#F871EE is a light, highly saturated purple. Relative luminance 0.379; OKLCH L 75.2% C 0.218 H 330.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#F871EE
RGBrgb(248, 113, 238)
HSLhsl(304, 91%, 71%)
HSVhsv(304, 54%, 97%)
CMYKcmyk(0%, 54.4%, 4%, 2.7%)
CIE-LABlab(67.98, 67.06, -39.39)
CIE-LCHlch(67.98, 77.77, 329.57°)
OKLaboklab(75.19% 0.1899 -0.1078)
OKLCHoklch(75.19% 0.218 330.4)
XYZxyz(60.0487, 37.9437, 85.0334)
Luminance0.3794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871EE #71F87B
analogous
#BE71F8 #F871EE #F871AB
triadic
#F871EE #EEF871 #71EEF8
tetradic
#F871EE #F8BE71 #71F87B #71ABF8
square
#F871EE #F8BE71 #71F87B #71ABF8
split-complementary
#F871EE #ABF871 #71F8BE
monochromatic
#E30BD3 #F537E7 #F871EE #FBABF5 #FEE2FC

Accessibility & contrast

On white

2.45
#F871EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#F871EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871EE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871EE#FFFFFF#000000##000000
##F871EE1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF2
Deuteranopia (green-blind)
#93ACEA
Tritanopia (blue-blind)
#FF7DA5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f871ee;
/* rgb */ color: rgb(248, 113, 238);
/* oklch */ color: oklch(75.2% 0.218 330.4);
Tailwind
colors: {
  custom: {
    50: '#fda0f4',
    500: '#f871ee',
    950: '#000000',
  },
}
SCSS
$custom: #f871ee;
$custom-light: #fda0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f871ee",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 304.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75189,
    "c": 0.2184,
    "h": 330.4
  },
  "luminance": 0.3794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F871EE

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

Preview Lab → · Contrast checker → · Palette generator →

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