#F871ED#F871ED

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

Color values

HEX#F871ED
RGBrgb(248, 113, 237)
HSLhsl(305, 91%, 71%)
HSVhsv(305, 54%, 97%)
CMYKcmyk(0%, 54.4%, 4.4%, 2.7%)
CIE-LABlab(67.94, 66.89, -38.90)
CIE-LCHlch(67.94, 77.38, 329.82°)
OKLaboklab(75.14% 0.1898 -0.1065)
OKLCHoklch(75.14% 0.218 330.7)
XYZxyz(59.9022, 37.8851, 84.2618)
Luminance0.3788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F871ED #71F87C
analogous
#BF71F8 #F871ED #F871A9
triadic
#F871ED #EDF871 #71EDF8
tetradic
#F871ED #F8BF71 #71F87C #71A9F8
square
#F871ED #F8BF71 #71F87C #71A9F8
split-complementary
#F871ED #A9F871 #71F8BF
monochromatic
#E30BD2 #F537E6 #F871ED #FBABF4 #FEE2FB

Accessibility & contrast

On white

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

On black

8.58
#F871ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F871ED
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F871ED#FFFFFF#000000##000000
##F871ED1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF1
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#FF7DA5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f871ed;
/* rgb */ color: rgb(248, 113, 237);
/* oklch */ color: oklch(75.1% 0.218 330.7);
Tailwind
colors: {
  custom: {
    50: '#fda0f3',
    500: '#f871ed',
    950: '#000000',
  },
}
SCSS
$custom: #f871ed;
$custom-light: #fda0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f871ed",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 304.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75143,
    "c": 0.21759,
    "h": 330.7
  },
  "luminance": 0.37881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F871ED

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

Preview Lab → · Contrast checker → · Palette generator →

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