#F873F9#F873F9

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

Color values

HEX#F873F9
RGBrgb(248, 115, 249)
HSLhsl(300, 92%, 71%)
HSVhsv(300, 54%, 98%)
CMYKcmyk(0.4%, 53.8%, 0%, 2.4%)
CIE-LABlab(68.80, 67.99, -44.16)
CIE-LCHlch(68.80, 81.07, 327.00°)
OKLaboklab(75.95% 0.1888 -0.1216)
OKLCHoklch(75.95% 0.225 327.2)
XYZxyz(61.9400, 39.0611, 93.8812)
Luminance0.3906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F873F9 #74F973
analogous
#B573F9 #F873F9 #F973B7
triadic
#F873F9 #F9F873 #73F9F8
tetradic
#F873F9 #F9B573 #74F973 #73B7F9
square
#F873F9 #F9B573 #74F973 #73B7F9
split-complementary
#F873F9 #B7F973 #73F9B5
monochromatic
#E60AE8 #F538F6 #F873F9 #FBAEFC #FEE2FE

Accessibility & contrast

On white

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

On black

8.81
#F873F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F873F9
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F873F9#FFFFFF#000000##000000
##F873F91.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#8FAEF5
Tritanopia (blue-blind)
#FF83AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f873f9;
/* rgb */ color: rgb(248, 115, 249);
/* oklch */ color: oklch(75.9% 0.225 327.2);
Tailwind
colors: {
  custom: {
    50: '#fda1fb',
    500: '#f873f9',
    950: '#000000',
  },
}
SCSS
$custom: #f873f9;
$custom-light: #fda1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f873f9",
  "rgb": {
    "r": 248,
    "g": 115,
    "b": 249
  },
  "hsl": {
    "h": 299.552,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75947,
    "c": 0.22453,
    "h": 327.2
  },
  "luminance": 0.39057
}

Semantic roles & 50–950 ramp

primary
#F873F9
secondary
#D3F5D2
accent
#E60002
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F873F9

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

Preview Lab → · Contrast checker → · Palette generator →

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