#F877F6#F877F6

#F877F6 is a light, highly saturated purple. Relative luminance 0.398; OKLCH L 76.3% C 0.216 H 328.0°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F877F6
RGBrgb(248, 119, 246)
HSLhsl(301, 90%, 72%)
HSVhsv(301, 52%, 97%)
CMYKcmyk(0%, 52%, 0.8%, 2.7%)
CIE-LABlab(69.33, 65.68, -41.67)
CIE-LCHlch(69.33, 77.79, 327.61°)
OKLaboklab(76.3% 0.1833 -0.1144)
OKLCHoklch(76.3% 0.216 328)
XYZxyz(61.9419, 39.8076, 91.5919)
Luminance0.3980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877F6 #77F879
analogous
#BA77F8 #F877F6 #F877B6
triadic
#F877F6 #F6F877 #77F6F8
tetradic
#F877F6 #F8BA77 #77F879 #77B6F8
square
#F877F6 #F8BA77 #77F879 #77B6F8
split-complementary
#F877F6 #B6F877 #77F8BA
monochromatic
#E90CE5 #F53DF2 #F877F6 #FBB1FA #FEE2FD

Accessibility & contrast

On white

2.34
#F877F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#F877F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877F6
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877F6#FFFFFF#000000##000000
##F877F61.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EFA
Deuteranopia (green-blind)
#93AFF2
Tritanopia (blue-blind)
#FF85AC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f877f6;
/* rgb */ color: rgb(248, 119, 246);
/* oklch */ color: oklch(76.3% 0.216 328.0);
Tailwind
colors: {
  custom: {
    50: '#fda3f9',
    500: '#f877f6',
    950: '#000000',
  },
}
SCSS
$custom: #f877f6;
$custom-light: #fda3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f877f6",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 300.93,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.76298,
    "c": 0.21612,
    "h": 328
  },
  "luminance": 0.39804
}

Semantic roles & 50–950 ramp

primary
#F877F6
secondary
#D5F6D6
accent
#E60400
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F877F6

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

Preview Lab → · Contrast checker → · Palette generator →

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