#F873FA#F873FA

#F873FA is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 76.0% C 0.225 H 326.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#F873FA
RGBrgb(248, 115, 250)
HSLhsl(299, 93%, 72%)
HSVhsv(299, 54%, 98%)
CMYKcmyk(0.8%, 54%, 0%, 2%)
CIE-LABlab(68.84, 68.16, -44.64)
CIE-LCHlch(68.84, 81.48, 326.78°)
OKLaboklab(76% 0.1889 -0.1229)
OKLCHoklch(76% 0.225 326.9)
XYZxyz(62.0964, 39.1237, 94.7048)
Luminance0.3912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F873FA #75FA73
analogous
#B573FA #F873FA #FA73B9
triadic
#F873FA #FAF873 #73FAF8
tetradic
#F873FA #FAB573 #75FA73 #73B9FA
square
#F873FA #FAB573 #75FA73 #73B9FA
split-complementary
#F873FA #B9FA73 #73FAB5
monochromatic
#E708EA #F538F8 #F873FA #FBAEFC #FEE1FE

Accessibility & contrast

On white

2.38
#F873FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#F873FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F873FA
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F873FA#FFFFFF#000000##000000
##F873FA1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFE
Deuteranopia (green-blind)
#8FAEF6
Tritanopia (blue-blind)
#FE83AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f873fa;
/* rgb */ color: rgb(248, 115, 250);
/* oklch */ color: oklch(76.0% 0.225 326.9);
Tailwind
colors: {
  custom: {
    50: '#fda1fc',
    500: '#f873fa',
    950: '#000000',
  },
}
SCSS
$custom: #f873fa;
$custom-light: #fda1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f873fa",
  "rgb": {
    "r": 248,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 299.111,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75995,
    "c": 0.22537,
    "h": 326.9
  },
  "luminance": 0.3912
}

Semantic roles & 50–950 ramp

primary
#F873FA
secondary
#D4F6D3
accent
#E60003
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F873FA

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

Preview Lab → · Contrast checker → · Palette generator →

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