#F877F7#F877F7

#F877F7 is a light, highly saturated purple. Relative luminance 0.399; OKLCH L 76.3% C 0.217 H 327.7°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#F877F7
RGBrgb(248, 119, 247)
HSLhsl(300, 90%, 72%)
HSVhsv(300, 52%, 97%)
CMYKcmyk(0%, 52%, 0.4%, 2.7%)
CIE-LABlab(69.38, 65.85, -42.15)
CIE-LCHlch(69.38, 78.19, 327.38°)
OKLaboklab(76.35% 0.1835 -0.1158)
OKLCHoklch(76.35% 0.217 327.7)
XYZxyz(62.0958, 39.8691, 92.4025)
Luminance0.3987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877F7 #77F878
analogous
#B977F8 #F877F7 #F877B7
triadic
#F877F7 #F7F877 #77F7F8
tetradic
#F877F7 #F8B977 #77F878 #77B7F8
square
#F877F7 #F8B977 #77F878 #77B7F8
split-complementary
#F877F7 #B7F877 #77F8B9
monochromatic
#E90CE7 #F53DF4 #F877F7 #FBB1FA #FEE2FD

Accessibility & contrast

On white

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

On black

8.97
#F877F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877F7
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877F7#FFFFFF#000000##000000
##F877F71.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f877f7;
/* rgb */ color: rgb(248, 119, 247);
/* oklch */ color: oklch(76.3% 0.217 327.7);
Tailwind
colors: {
  custom: {
    50: '#fda3fa',
    500: '#f877f7',
    950: '#000000',
  },
}
SCSS
$custom: #f877f7;
$custom-light: #fda3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f877f7",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 300.465,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.76345,
    "c": 0.21696,
    "h": 327.7
  },
  "luminance": 0.39866
}

Semantic roles & 50–950 ramp

primary
#F877F7
secondary
#D5F6D5
accent
#E60200
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F877F7

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

Preview Lab → · Contrast checker → · Palette generator →

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