#F877E7#F877E7

#F877E7 is a light, highly saturated purple. Relative luminance 0.389; OKLCH L 75.6% C 0.204 H 332.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#F877E7
RGBrgb(248, 119, 231)
HSLhsl(308, 90%, 72%)
HSVhsv(308, 52%, 97%)
CMYKcmyk(0%, 52%, 6.9%, 2.7%)
CIE-LABlab(68.70, 63.21, -34.41)
CIE-LCHlch(68.70, 71.97, 331.44°)
OKLaboklab(75.62% 0.181 -0.0937)
OKLCHoklch(75.62% 0.204 332.6)
XYZxyz(59.7319, 38.9236, 79.9527)
Luminance0.3892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877E7 #77F888
analogous
#C977F8 #F877E7 #F877A7
triadic
#F877E7 #E7F877 #77E7F8
tetradic
#F877E7 #F8C977 #77F888 #77A7F8
square
#F877E7 #F8C977 #77F888 #77A7F8
split-complementary
#F877E7 #A7F877 #77F8C9
monochromatic
#E90CCC #F53DDD #F877E7 #FBB1F1 #FEE2FA

Accessibility & contrast

On white

2.39
#F877E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#F877E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877E7
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877E7#FFFFFF#000000##000000
##F877E71.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#749CEB
Deuteranopia (green-blind)
#9AAEE3
Tritanopia (blue-blind)
#FF80A5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f877e7;
/* rgb */ color: rgb(248, 119, 231);
/* oklch */ color: oklch(75.6% 0.204 332.6);
Tailwind
colors: {
  custom: {
    50: '#fda3ef',
    500: '#f877e7',
    950: '#000000',
  },
}
SCSS
$custom: #f877e7;
$custom-light: #fda3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f877e7",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 307.907,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75621,
    "c": 0.20382,
    "h": 332.6
  },
  "luminance": 0.3892
}

Semantic roles & 50–950 ramp

primary
#F877E7
secondary
#D5F6D9
accent
#E61E00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F877E7

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

Preview Lab → · Contrast checker → · Palette generator →

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