#F878EF#F878EF

#F878EF is a light, highly saturated purple. Relative luminance 0.396; OKLCH L 76.1% C 0.209 H 330.1°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#F878EF
RGBrgb(248, 120, 239)
HSLhsl(304, 90%, 72%)
HSVhsv(304, 52%, 97%)
CMYKcmyk(0%, 51.6%, 3.6%, 2.7%)
CIE-LABlab(69.20, 64.06, -38.03)
CIE-LCHlch(69.20, 74.50, 329.30°)
OKLaboklab(76.1% 0.181 -0.104)
OKLCHoklch(76.1% 0.209 330.1)
XYZxyz(61.0073, 39.6252, 86.0797)
Luminance0.3962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878EF #78F881
analogous
#C178F8 #F878EF #F878AF
triadic
#F878EF #EFF878 #78EFF8
tetradic
#F878EF #F8C178 #78F881 #78AFF8
square
#F878EF #F8C178 #78F881 #78AFF8
split-complementary
#F878EF #AFF878 #78F8C1
monochromatic
#E90CDA #F53EE8 #F878EF #FBB2F6 #FDE2FC

Accessibility & contrast

On white

2.35
#F878EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#F878EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878EF
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878EF#FFFFFF#000000##000000
##F878EF1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#97AFEB
Tritanopia (blue-blind)
#FF83A9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f878ef;
/* rgb */ color: rgb(248, 120, 239);
/* oklch */ color: oklch(76.1% 0.209 330.1);
Tailwind
colors: {
  custom: {
    50: '#fda4f4',
    500: '#f878ef',
    950: '#000000',
  },
}
SCSS
$custom: #f878ef;
$custom-light: #fda4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f878ef",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 304.219,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.76103,
    "c": 0.20878,
    "h": 330.1
  },
  "luminance": 0.39621
}

Semantic roles & 50–950 ramp

primary
#F878EF
secondary
#D5F6D8
accent
#E61000
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F878EF

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

Preview Lab → · Contrast checker → · Palette generator →

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