#F878F3#F878F3

#F878F3 is a light, highly saturated purple. Relative luminance 0.399; OKLCH L 76.3% C 0.212 H 328.9°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#F878F3
RGBrgb(248, 120, 243)
HSLhsl(302, 90%, 72%)
HSVhsv(302, 52%, 97%)
CMYKcmyk(0%, 51.6%, 2%, 2.7%)
CIE-LABlab(69.37, 64.72, -39.96)
CIE-LCHlch(69.37, 76.07, 328.31°)
OKLaboklab(76.29% 0.1816 -0.1095)
OKLCHoklch(76.29% 0.212 328.9)
XYZxyz(61.6048, 39.8642, 89.2264)
Luminance0.3986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878F3 #78F87D
analogous
#BD78F8 #F878F3 #F878B3
triadic
#F878F3 #F3F878 #78F3F8
tetradic
#F878F3 #F8BD78 #78F87D #78B3F8
square
#F878F3 #F8BD78 #78F87D #78B3F8
split-complementary
#F878F3 #B3F878 #78F8BD
monochromatic
#E90CE1 #F53EEE #F878F3 #FBB2F8 #FDE2FC

Accessibility & contrast

On white

2.34
#F878F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#F878F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878F3
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878F3#FFFFFF#000000##000000
##F878F31.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF7
Deuteranopia (green-blind)
#95B0EF
Tritanopia (blue-blind)
#FF85AB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f878f3;
/* rgb */ color: rgb(248, 120, 243);
/* oklch */ color: oklch(76.3% 0.212 328.9);
Tailwind
colors: {
  custom: {
    50: '#fda4f7',
    500: '#f878f3',
    950: '#000000',
  },
}
SCSS
$custom: #f878f3;
$custom-light: #fda4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f878f3",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 302.344,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.76285,
    "c": 0.2121,
    "h": 328.9
  },
  "luminance": 0.3986
}

Semantic roles & 50–950 ramp

primary
#F878F3
secondary
#D5F6D7
accent
#E60900
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F878F3

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

Preview Lab → · Contrast checker → · Palette generator →

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