#F873F2#F873F2

#F873F2 is a light, highly saturated purple. Relative luminance 0.386; OKLCH L 75.6% C 0.219 H 329.2°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#F873F2
RGBrgb(248, 115, 242)
HSLhsl(303, 90%, 71%)
HSVhsv(303, 54%, 97%)
CMYKcmyk(0%, 53.6%, 2.4%, 2.7%)
CIE-LABlab(68.48, 66.82, -40.80)
CIE-LCHlch(68.48, 78.29, 328.59°)
OKLaboklab(75.62% 0.1879 -0.1119)
OKLCHoklch(75.62% 0.219 329.2)
XYZxyz(60.8685, 38.6325, 88.2380)
Luminance0.3863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F873F2 #73F879
analogous
#BB73F8 #F873F2 #F873AF
triadic
#F873F2 #F2F873 #73F2F8
tetradic
#F873F2 #F8BB73 #73F879 #73AFF8
square
#F873F2 #F8BB73 #73F879 #73AFF8
split-complementary
#F873F2 #AFF873 #73F8BB
monochromatic
#E50BDB #F539ED #F873F2 #FBADF7 #FEE2FC

Accessibility & contrast

On white

2.41
#F873F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#F873F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F873F2
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F873F2#FFFFFF#000000##000000
##F873F21.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699CF6
Deuteranopia (green-blind)
#93ADEE
Tritanopia (blue-blind)
#FF80A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f873f2;
/* rgb */ color: rgb(248, 115, 242);
/* oklch */ color: oklch(75.6% 0.219 329.2);
Tailwind
colors: {
  custom: {
    50: '#fda1f6',
    500: '#f873f2',
    950: '#000000',
  },
}
SCSS
$custom: #f873f2;
$custom-light: #fda1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f873f2",
  "rgb": {
    "r": 248,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 302.707,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75617,
    "c": 0.21872,
    "h": 329.2
  },
  "luminance": 0.38629
}

Semantic roles & 50–950 ramp

primary
#F873F2
secondary
#D2F5D3
accent
#E60A00
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F873F2

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

Preview Lab → · Contrast checker → · Palette generator →

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