#F878E8#F878E8

#F878E8 is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 75.8% C 0.203 H 332.3°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#F878E8
RGBrgb(248, 120, 232)
HSLhsl(308, 90%, 72%)
HSVhsv(308, 52%, 97%)
CMYKcmyk(0%, 51.6%, 6.5%, 2.7%)
CIE-LABlab(68.91, 62.91, -34.63)
CIE-LCHlch(68.91, 71.81, 331.17°)
OKLaboklab(75.79% 0.1799 -0.0943)
OKLCHoklch(75.79% 0.203 332.3)
XYZxyz(59.9932, 39.2195, 80.7385)
Luminance0.3922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878E8 #78F888
analogous
#C878F8 #F878E8 #F878A8
triadic
#F878E8 #E8F878 #78E8F8
tetradic
#F878E8 #F8C878 #78F888 #78A8F8
square
#F878E8 #F8C878 #78F888 #78A8F8
split-complementary
#F878E8 #A8F878 #78F8C8
monochromatic
#E90CCE #F53EDE #F878E8 #FBB2F2 #FDE2FA

Accessibility & contrast

On white

2.37
#F878E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#F878E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878E8
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878E8#FFFFFF#000000##000000
##F878E81.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DEC
Deuteranopia (green-blind)
#9AAFE4
Tritanopia (blue-blind)
#FF81A6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f878e8;
/* rgb */ color: rgb(248, 120, 232);
/* oklch */ color: oklch(75.8% 0.203 332.3);
Tailwind
colors: {
  custom: {
    50: '#fda4ef',
    500: '#f878e8',
    950: '#000000',
  },
}
SCSS
$custom: #f878e8;
$custom-light: #fda4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f878e8",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 307.5,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75792,
    "c": 0.2031,
    "h": 332.3
  },
  "luminance": 0.39216
}

Semantic roles & 50–950 ramp

primary
#F878E8
secondary
#D5F6D9
accent
#E61D00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F878E8

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

Preview Lab → · Contrast checker → · Palette generator →

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