#F878F6#F878F6

#F878F6 is a light, highly saturated purple. Relative luminance 0.400; OKLCH L 76.4% C 0.215 H 328.0°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#F878F6
RGBrgb(248, 120, 246)
HSLhsl(301, 90%, 72%)
HSVhsv(301, 52%, 97%)
CMYKcmyk(0%, 51.6%, 0.8%, 2.7%)
CIE-LABlab(69.50, 65.23, -41.41)
CIE-LCHlch(69.50, 77.26, 327.59°)
OKLaboklab(76.42% 0.182 -0.1137)
OKLCHoklch(76.42% 0.215 328)
XYZxyz(62.0615, 40.0469, 91.6318)
Luminance0.4004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878F6 #78F87A
analogous
#BA78F8 #F878F6 #F878B6
triadic
#F878F6 #F6F878 #78F6F8
tetradic
#F878F6 #F8BA78 #78F87A #78B6F8
square
#F878F6 #F8BA78 #78F87A #78B6F8
split-complementary
#F878F6 #B6F878 #78F8BA
monochromatic
#E90CE6 #F53EF2 #F878F6 #FBB2FA #FDE2FD

Accessibility & contrast

On white

2.33
#F878F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#F878F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878F6
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878F6#FFFFFF#000000##000000
##F878F61.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFA
Deuteranopia (green-blind)
#94B0F2
Tritanopia (blue-blind)
#FF86AC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f878f6;
/* rgb */ color: rgb(248, 120, 246);
/* oklch */ color: oklch(76.4% 0.215 328.0);
Tailwind
colors: {
  custom: {
    50: '#fda4f9',
    500: '#f878f6',
    950: '#000000',
  },
}
SCSS
$custom: #f878f6;
$custom-light: #fda4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f878f6",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 300.938,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.76424,
    "c": 0.21463,
    "h": 328
  },
  "luminance": 0.40043
}

Semantic roles & 50–950 ramp

primary
#F878F6
secondary
#D5F6D6
accent
#E60400
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F878F6

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

Preview Lab → · Contrast checker → · Palette generator →

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