#F877F8#F877F8

#F877F8 is a light, highly saturated purple. Relative luminance 0.399; OKLCH L 76.4% C 0.218 H 327.4°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#F877F8
RGBrgb(248, 119, 248)
HSLhsl(300, 90%, 72%)
HSVhsv(300, 52%, 97%)
CMYKcmyk(0%, 52%, 0%, 2.7%)
CIE-LABlab(69.42, 66.02, -42.63)
CIE-LCHlch(69.42, 78.59, 327.15°)
OKLaboklab(76.39% 0.1836 -0.1172)
OKLCHoklch(76.39% 0.218 327.4)
XYZxyz(62.2505, 39.9310, 93.2173)
Luminance0.3993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877F8 #77F877
analogous
#B877F8 #F877F8 #F877B8
triadic
#F877F8 #F8F877 #77F8F8
tetradic
#F877F8 #F8B877 #77F877 #77B8F8
square
#F877F8 #F8B877 #77F877 #77B8F8
split-complementary
#F877F8 #B8F877 #77F8B8
monochromatic
#E90CE9 #F53DF5 #F877F8 #FBB1FB #FEE2FE

Accessibility & contrast

On white

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

On black

8.99
#F877F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877F8
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877F8#FFFFFF#000000##000000
##F877F81.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFC
Deuteranopia (green-blind)
#92B0F4
Tritanopia (blue-blind)
#FF86AD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f877f8;
/* rgb */ color: rgb(248, 119, 248);
/* oklch */ color: oklch(76.4% 0.218 327.4);
Tailwind
colors: {
  custom: {
    50: '#fda3fb',
    500: '#f877f8',
    950: '#000000',
  },
}
SCSS
$custom: #f877f8;
$custom-light: #fda3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f877f8",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 300,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.76392,
    "c": 0.21781,
    "h": 327.4
  },
  "luminance": 0.39927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F877F8

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

Preview Lab → · Contrast checker → · Palette generator →

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