#F877F2#F877F2

#F877F2 is a light, highly saturated purple. Relative luminance 0.396; OKLCH L 76.1% C 0.213 H 329.2°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#F877F2
RGBrgb(248, 119, 242)
HSLhsl(303, 90%, 72%)
HSVhsv(303, 52%, 97%)
CMYKcmyk(0%, 52%, 2.4%, 2.7%)
CIE-LABlab(69.16, 65.01, -39.75)
CIE-LCHlch(69.16, 76.20, 328.56°)
OKLaboklab(76.11% 0.1828 -0.1089)
OKLCHoklch(76.11% 0.213 329.2)
XYZxyz(61.3345, 39.5647, 88.3933)
Luminance0.3956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877F2 #77F87D
analogous
#BE77F8 #F877F2 #F877B1
triadic
#F877F2 #F2F877 #77F2F8
tetradic
#F877F2 #F8BE77 #77F87D #77B1F8
square
#F877F2 #F8BE77 #77F87D #77B1F8
split-complementary
#F877F2 #B1F877 #77F8BE
monochromatic
#E90CDE #F53DEC #F877F2 #FBB1F8 #FEE2FC

Accessibility & contrast

On white

2.36
#F877F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#F877F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877F2
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877F2#FFFFFF#000000##000000
##F877F21.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#95AFEE
Tritanopia (blue-blind)
#FF84AA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f877f2;
/* rgb */ color: rgb(248, 119, 242);
/* oklch */ color: oklch(76.1% 0.213 329.2);
Tailwind
colors: {
  custom: {
    50: '#fda3f6',
    500: '#f877f2',
    950: '#000000',
  },
}
SCSS
$custom: #f877f2;
$custom-light: #fda3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f877f2",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 302.791,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.76113,
    "c": 0.21277,
    "h": 329.2
  },
  "luminance": 0.39561
}

Semantic roles & 50–950 ramp

primary
#F877F2
secondary
#D5F6D7
accent
#E60B00
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F877F2

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

Preview Lab → · Contrast checker → · Palette generator →

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