#F878F8#F878F8

#F878F8 is a light, highly saturated purple. Relative luminance 0.402; OKLCH L 76.5% C 0.216 H 327.4°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#F878F8
RGBrgb(248, 120, 248)
HSLhsl(300, 90%, 72%)
HSVhsv(300, 52%, 97%)
CMYKcmyk(0%, 51.6%, 0%, 2.7%)
CIE-LABlab(69.59, 65.57, -42.36)
CIE-LCHlch(69.59, 78.06, 327.13°)
OKLaboklab(76.52% 0.1823 -0.1164)
OKLCHoklch(76.52% 0.216 327.4)
XYZxyz(62.3701, 40.1703, 93.2572)
Luminance0.4017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878F8 #78F878
analogous
#B878F8 #F878F8 #F878B8
triadic
#F878F8 #F8F878 #78F8F8
tetradic
#F878F8 #F8B878 #78F878 #78B8F8
square
#F878F8 #F8B878 #78F878 #78B8F8
split-complementary
#F878F8 #B8F878 #78F8B8
monochromatic
#E90CE9 #F53EF5 #F878F8 #FBB2FB #FDE2FD

Accessibility & contrast

On white

2.32
#F878F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#F878F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878F8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878F8#FFFFFF#000000##000000
##F878F81.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFC
Deuteranopia (green-blind)
#93B0F4
Tritanopia (blue-blind)
#FF86AD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f878f8;
/* rgb */ color: rgb(248, 120, 248);
/* oklch */ color: oklch(76.5% 0.216 327.4);
Tailwind
colors: {
  custom: {
    50: '#fda4fb',
    500: '#f878f8',
    950: '#000000',
  },
}
SCSS
$custom: #f878f8;
$custom-light: #fda4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f878f8",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 300,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.76517,
    "c": 0.21631,
    "h": 327.4
  },
  "luminance": 0.40167
}

Semantic roles & 50–950 ramp

primary
#F878F8
secondary
#D5F6D5
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F878F8

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

Preview Lab → · Contrast checker → · Palette generator →

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