#F877FE#F877FE

#F877FE is a light, highly saturated purple. Relative luminance 0.403; OKLCH L 76.7% C 0.223 H 325.8°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#F877FE
RGBrgb(248, 119, 254)
HSLhsl(297, 99%, 73%)
HSVhsv(297, 53%, 100%)
CMYKcmyk(2.4%, 53.1%, 0%, 0.4%)
CIE-LABlab(69.69, 67.05, -45.49)
CIE-LCHlch(69.69, 81.03, 325.85°)
OKLaboklab(76.68% 0.1843 -0.1254)
OKLCHoklch(76.68% 0.223 325.8)
XYZxyz(63.1963, 40.3094, 98.1985)
Luminance0.4031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877FE #7DFE77
analogous
#B477FE #F877FE #FE77C1
triadic
#F877FE #FEF877 #77FEF8
tetradic
#F877FE #FEB477 #7DFE77 #77C1FE
square
#F877FE #FEB477 #7DFE77 #77C1FE
split-complementary
#F877FE #C1FE77 #77FEB4
monochromatic
#EE02F9 #F53AFE #F877FE #FBB4FE #FDE1FF

Accessibility & contrast

On white

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

On black

9.06
#F877FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877FE
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877FE#FFFFFF#000000##000000
##F877FE1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#90B0FA
Tritanopia (blue-blind)
#FE88B0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f877fe;
/* rgb */ color: rgb(248, 119, 254);
/* oklch */ color: oklch(76.7% 0.223 325.8);
Tailwind
colors: {
  custom: {
    50: '#fda4ff',
    500: '#f877fe',
    950: '#000000',
  },
}
SCSS
$custom: #f877fe;
$custom-light: #fda4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f877fe",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 297.333,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76677,
    "c": 0.22294,
    "h": 325.8
  },
  "luminance": 0.40306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F877FE

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

Preview Lab → · Contrast checker → · Palette generator →

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