#F877FC#F877FC

#F877FC is a light, highly saturated purple. Relative luminance 0.402; OKLCH L 76.6% C 0.221 H 326.3°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#F877FC
RGBrgb(248, 119, 252)
HSLhsl(298, 96%, 73%)
HSVhsv(298, 53%, 99%)
CMYKcmyk(1.6%, 52.8%, 0%, 1.2%)
CIE-LABlab(69.60, 66.71, -44.54)
CIE-LCHlch(69.60, 80.21, 326.27°)
OKLaboklab(76.58% 0.1841 -0.1227)
OKLCHoklch(76.58% 0.221 326.3)
XYZxyz(62.8777, 40.1819, 96.5205)
Luminance0.4018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877FC #7BFC77
analogous
#B577FC #F877FC #FC77BE
triadic
#F877FC #FCF877 #77FCF8
tetradic
#F877FC #FCB577 #7BFC77 #77BEFC
square
#F877FC #FCB577 #7BFC77 #77BEFC
split-complementary
#F877FC #BEFC77 #77FCB5
monochromatic
#EC05F3 #F53BFB #F877FC #FBB3FD #FDE1FE

Accessibility & contrast

On white

2.32
#F877FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#F877FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877FC
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877FC#FFFFFF#000000##000000
##F877FC1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#FE87AF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f877fc;
/* rgb */ color: rgb(248, 119, 252);
/* oklch */ color: oklch(76.6% 0.221 326.3);
Tailwind
colors: {
  custom: {
    50: '#fda4fe',
    500: '#f877fc',
    950: '#000000',
  },
}
SCSS
$custom: #f877fc;
$custom-light: #fda4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f877fc",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 298.195,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76581,
    "c": 0.22122,
    "h": 326.3
  },
  "luminance": 0.40178
}

Semantic roles & 50–950 ramp

primary
#F877FC
secondary
#D5F7D4
accent
#E60007
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F877FC

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

Preview Lab → · Contrast checker → · Palette generator →

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