#F877EF#F877EF

#F877EF is a light, highly saturated purple. Relative luminance 0.394; OKLCH L 76.0% C 0.210 H 330.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#F877EF
RGBrgb(248, 119, 239)
HSLhsl(304, 90%, 72%)
HSVhsv(304, 52%, 97%)
CMYKcmyk(0%, 52%, 3.6%, 2.7%)
CIE-LABlab(69.03, 64.51, -38.30)
CIE-LCHlch(69.03, 75.03, 329.30°)
OKLaboklab(75.98% 0.1823 -0.1048)
OKLCHoklch(75.98% 0.21 330.1)
XYZxyz(60.8877, 39.3859, 86.0398)
Luminance0.3938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877EF #77F880
analogous
#C177F8 #F877EF #F877AF
triadic
#F877EF #EFF877 #77EFF8
tetradic
#F877EF #F8C177 #77F880 #77AFF8
square
#F877EF #F8C177 #77F880 #77AFF8
split-complementary
#F877EF #AFF877 #77F8C1
monochromatic
#E90CD9 #F53DE8 #F877EF #FBB1F6 #FEE2FC

Accessibility & contrast

On white

2.37
#F877EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#F877EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877EF
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877EF#FFFFFF#000000##000000
##F877EF1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#96AFEB
Tritanopia (blue-blind)
#FF83A9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f877ef;
/* rgb */ color: rgb(248, 119, 239);
/* oklch */ color: oklch(76.0% 0.210 330.1);
Tailwind
colors: {
  custom: {
    50: '#fda3f4',
    500: '#f877ef',
    950: '#000000',
  },
}
SCSS
$custom: #f877ef;
$custom-light: #fda3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f877ef",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 304.186,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75977,
    "c": 0.21029,
    "h": 330.1
  },
  "luminance": 0.39382
}

Semantic roles & 50–950 ramp

primary
#F877EF
secondary
#D5F6D7
accent
#E61000
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F877EF

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

Preview Lab → · Contrast checker → · Palette generator →

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