#F879EF#F879EF

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

Color values

HEX#F879EF
RGBrgb(248, 121, 239)
HSLhsl(304, 90%, 72%)
HSVhsv(304, 51%, 97%)
CMYKcmyk(0%, 51.2%, 3.6%, 2.7%)
CIE-LABlab(69.37, 63.60, -37.76)
CIE-LCHlch(69.37, 73.96, 329.30°)
OKLaboklab(76.23% 0.1797 -0.1033)
OKLCHoklch(76.23% 0.207 330.1)
XYZxyz(61.1282, 39.8670, 86.1200)
Luminance0.3986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F879EF #79F882
analogous
#C279F8 #F879EF #F879B0
triadic
#F879EF #EFF879 #79EFF8
tetradic
#F879EF #F8C279 #79F882 #79B0F8
square
#F879EF #F8C279 #79F882 #79B0F8
split-complementary
#F879EF #B0F879 #79F8C2
monochromatic
#EA0CDB #F53FE8 #F879EF #FBB3F6 #FDE2FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F879EF#FFFFFF#000000##000000
##F879EF1.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)
#729EF3
Deuteranopia (green-blind)
#98B0EB
Tritanopia (blue-blind)
#FF84A9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f879ef;
/* rgb */ color: rgb(248, 121, 239);
/* oklch */ color: oklch(76.2% 0.207 330.1);
Tailwind
colors: {
  custom: {
    50: '#fda4f4',
    500: '#f879ef',
    950: '#000000',
  },
}
SCSS
$custom: #f879ef;
$custom-light: #fda4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f879ef",
  "rgb": {
    "r": 248,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 304.252,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76231,
    "c": 0.20726,
    "h": 330.1
  },
  "luminance": 0.39863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F879EF

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

Preview Lab → · Contrast checker → · Palette generator →

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