#F878FA#F878FA

#F878FA is a light, highly saturated purple. Relative luminance 0.403; OKLCH L 76.6% C 0.218 H 326.9°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#F878FA
RGBrgb(248, 120, 250)
HSLhsl(299, 93%, 73%)
HSVhsv(299, 52%, 98%)
CMYKcmyk(0.8%, 52%, 0%, 2%)
CIE-LABlab(69.68, 65.91, -43.32)
CIE-LCHlch(69.68, 78.87, 326.68°)
OKLaboklab(76.61% 0.1826 -0.1192)
OKLCHoklch(76.61% 0.218 326.9)
XYZxyz(62.6821, 40.2951, 94.9001)
Luminance0.4029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878FA #7AFA78
analogous
#B778FA #F878FA #FA78BB
triadic
#F878FA #FAF878 #78FAF8
tetradic
#F878FA #FAB778 #7AFA78 #78BBFA
square
#F878FA #FAB778 #7AFA78 #78BBFA
split-complementary
#F878FA #BBFA78 #78FAB7
monochromatic
#EB09EF #F53DF8 #F878FA #FBB3FC #FDE1FE

Accessibility & contrast

On white

2.32
#F878FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#F878FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878FA
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878FA#FFFFFF#000000##000000
##F878FA1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FE
Deuteranopia (green-blind)
#92B0F6
Tritanopia (blue-blind)
#FE87AE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f878fa;
/* rgb */ color: rgb(248, 120, 250);
/* oklch */ color: oklch(76.6% 0.218 326.9);
Tailwind
colors: {
  custom: {
    50: '#fda4fc',
    500: '#f878fa',
    950: '#000000',
  },
}
SCSS
$custom: #f878fa;
$custom-light: #fda4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f878fa",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 299.077,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76611,
    "c": 0.21802,
    "h": 326.9
  },
  "luminance": 0.40292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F878FA

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

Preview Lab → · Contrast checker → · Palette generator →

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