#F878EA#F878EA

#F878EA is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.9% C 0.205 H 331.7°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#F878EA
RGBrgb(248, 120, 234)
HSLhsl(307, 90%, 72%)
HSVhsv(307, 52%, 97%)
CMYKcmyk(0%, 51.6%, 5.6%, 2.7%)
CIE-LABlab(68.99, 63.24, -35.60)
CIE-LCHlch(68.99, 72.57, 330.62°)
OKLaboklab(75.88% 0.1802 -0.0971)
OKLCHoklch(75.88% 0.205 331.7)
XYZxyz(60.2789, 39.3338, 82.2432)
Luminance0.3933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878EA #78F886
analogous
#C678F8 #F878EA #F878AA
triadic
#F878EA #EAF878 #78EAF8
tetradic
#F878EA #F8C678 #78F886 #78AAF8
square
#F878EA #F8C678 #78F886 #78AAF8
split-complementary
#F878EA #AAF878 #78F8C6
monochromatic
#E90CD1 #F53EE1 #F878EA #FBB2F3 #FDE2FA

Accessibility & contrast

On white

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

On black

8.87
#F878EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878EA
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878EA#FFFFFF#000000##000000
##F878EA1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#99AFE6
Tritanopia (blue-blind)
#FF82A7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f878ea;
/* rgb */ color: rgb(248, 120, 234);
/* oklch */ color: oklch(75.9% 0.205 331.7);
Tailwind
colors: {
  custom: {
    50: '#fda4f1',
    500: '#f878ea',
    950: '#000000',
  },
}
SCSS
$custom: #f878ea;
$custom-light: #fda4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f878ea",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 306.563,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7588,
    "c": 0.2047,
    "h": 331.7
  },
  "luminance": 0.3933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F878EA

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

Preview Lab → · Contrast checker → · Palette generator →

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