#F878EB#F878EB

#F878EB is a light, highly saturated purple. Relative luminance 0.394; OKLCH L 75.9% C 0.206 H 331.4°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#F878EB
RGBrgb(248, 120, 235)
HSLhsl(306, 90%, 72%)
HSVhsv(306, 52%, 97%)
CMYKcmyk(0%, 51.6%, 5.2%, 2.7%)
CIE-LABlab(69.03, 63.40, -36.09)
CIE-LCHlch(69.03, 72.95, 330.35°)
OKLaboklab(75.92% 0.1804 -0.0985)
OKLCHoklch(75.92% 0.206 331.4)
XYZxyz(60.4229, 39.3914, 83.0019)
Luminance0.3939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878EB #78F885
analogous
#C578F8 #F878EB #F878AB
triadic
#F878EB #EBF878 #78EBF8
tetradic
#F878EB #F8C578 #78F885 #78ABF8
square
#F878EB #F8C578 #78F885 #78ABF8
split-complementary
#F878EB #ABF878 #78F8C5
monochromatic
#E90CD3 #F53EE2 #F878EB #FBB2F4 #FDE2FB

Accessibility & contrast

On white

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

On black

8.88
#F878EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878EB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878EB#FFFFFF#000000##000000
##F878EB1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f878eb;
/* rgb */ color: rgb(248, 120, 235);
/* oklch */ color: oklch(75.9% 0.206 331.4);
Tailwind
colors: {
  custom: {
    50: '#fda4f1',
    500: '#f878eb',
    950: '#000000',
  },
}
SCSS
$custom: #f878eb;
$custom-light: #fda4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f878eb",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 306.094,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75924,
    "c": 0.20551,
    "h": 331.4
  },
  "luminance": 0.39388
}

Semantic roles & 50–950 ramp

primary
#F878EB
secondary
#D5F6D9
accent
#E61700
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F878EB

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

Preview Lab → · Contrast checker → · Palette generator →

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