#F878F7#F878F7

#F878F7 is a light, highly saturated purple. Relative luminance 0.401; OKLCH L 76.5% C 0.215 H 327.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#F878F7
RGBrgb(248, 120, 247)
HSLhsl(300, 90%, 72%)
HSVhsv(300, 52%, 97%)
CMYKcmyk(0%, 51.6%, 0.4%, 2.7%)
CIE-LABlab(69.55, 65.40, -41.89)
CIE-LCHlch(69.55, 77.66, 327.36°)
OKLaboklab(76.47% 0.1822 -0.1151)
OKLCHoklch(76.47% 0.215 327.7)
XYZxyz(62.2154, 40.1084, 92.4423)
Luminance0.4011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878F7 #78F879
analogous
#B978F8 #F878F7 #F878B7
triadic
#F878F7 #F7F878 #78F7F8
tetradic
#F878F7 #F8B978 #78F879 #78B7F8
square
#F878F7 #F8B978 #78F879 #78B7F8
split-complementary
#F878F7 #B7F878 #78F8B9
monochromatic
#E90CE8 #F53EF4 #F878F7 #FBB2FA #FDE2FD

Accessibility & contrast

On white

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

On black

9.02
#F878F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878F7
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878F7#FFFFFF#000000##000000
##F878F71.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#94B0F3
Tritanopia (blue-blind)
#FF86AD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f878f7;
/* rgb */ color: rgb(248, 120, 247);
/* oklch */ color: oklch(76.5% 0.215 327.7);
Tailwind
colors: {
  custom: {
    50: '#fda4fa',
    500: '#f878f7',
    950: '#000000',
  },
}
SCSS
$custom: #f878f7;
$custom-light: #fda4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f878f7",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 300.469,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7647,
    "c": 0.21547,
    "h": 327.7
  },
  "luminance": 0.40105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F878F7

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

Preview Lab → · Contrast checker → · Palette generator →

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