#F878F9#F878F9

#F878F9 is a light, highly saturated purple. Relative luminance 0.402; OKLCH L 76.6% C 0.217 H 327.1°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#F878F9
RGBrgb(248, 120, 249)
HSLhsl(300, 91%, 72%)
HSVhsv(300, 52%, 98%)
CMYKcmyk(0.4%, 51.8%, 0%, 2.4%)
CIE-LABlab(69.63, 65.74, -42.84)
CIE-LCHlch(69.63, 78.47, 326.91°)
OKLaboklab(76.56% 0.1824 -0.1178)
OKLCHoklch(76.56% 0.217 327.1)
XYZxyz(62.5257, 40.2325, 94.0764)
Luminance0.4023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878F9 #79F978
analogous
#B878F9 #F878F9 #F978B9
triadic
#F878F9 #F9F878 #78F9F8
tetradic
#F878F9 #F9B878 #79F978 #78B9F9
square
#F878F9 #F9B878 #79F978 #78B9F9
split-complementary
#F878F9 #B9F978 #78F9B8
monochromatic
#EA0AEC #F53DF6 #F878F9 #FBB3FC #FDE2FE

Accessibility & contrast

On white

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

On black

9.05
#F878F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878F9
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878F9#FFFFFF#000000##000000
##F878F91.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FD
Deuteranopia (green-blind)
#93B0F5
Tritanopia (blue-blind)
#FE87AE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f878f9;
/* rgb */ color: rgb(248, 120, 249);
/* oklch */ color: oklch(76.6% 0.217 327.1);
Tailwind
colors: {
  custom: {
    50: '#fda4fb',
    500: '#f878f9',
    950: '#000000',
  },
}
SCSS
$custom: #f878f9;
$custom-light: #fda4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f878f9",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 299.535,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76564,
    "c": 0.21717,
    "h": 327.1
  },
  "luminance": 0.40229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F878F9

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

Preview Lab → · Contrast checker → · Palette generator →

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