#F878E7#F878E7

#F878E7 is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 75.7% C 0.202 H 332.7°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#F878E7
RGBrgb(248, 120, 231)
HSLhsl(308, 90%, 72%)
HSVhsv(308, 52%, 97%)
CMYKcmyk(0%, 51.6%, 6.9%, 2.7%)
CIE-LABlab(68.87, 62.75, -34.14)
CIE-LCHlch(68.87, 71.43, 331.45°)
OKLaboklab(75.75% 0.1797 -0.0929)
OKLCHoklch(75.75% 0.202 332.7)
XYZxyz(59.8515, 39.1629, 79.9926)
Luminance0.3916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878E7 #78F889
analogous
#C978F8 #F878E7 #F878A7
triadic
#F878E7 #E7F878 #78E7F8
tetradic
#F878E7 #F8C978 #78F889 #78A7F8
square
#F878E7 #F8C978 #78F889 #78A7F8
split-complementary
#F878E7 #A7F878 #78F8C9
monochromatic
#E90CCC #F53EDD #F878E7 #FBB2F1 #FDE2FA

Accessibility & contrast

On white

2.38
#F878E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#F878E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878E7
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878E7#FFFFFF#000000##000000
##F878E71.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#759CEB
Deuteranopia (green-blind)
#9AAFE3
Tritanopia (blue-blind)
#FF81A5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f878e7;
/* rgb */ color: rgb(248, 120, 231);
/* oklch */ color: oklch(75.7% 0.202 332.7);
Tailwind
colors: {
  custom: {
    50: '#fda4ef',
    500: '#f878e7',
    950: '#000000',
  },
}
SCSS
$custom: #f878e7;
$custom-light: #fda4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f878e7",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 307.969,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75749,
    "c": 0.2023,
    "h": 332.7
  },
  "luminance": 0.39159
}

Semantic roles & 50–950 ramp

primary
#F878E7
secondary
#D5F6DA
accent
#E61E00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F878E7

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

Preview Lab → · Contrast checker → · Palette generator →

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