#F873E4#F873E4

#F873E4 is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 75.0% C 0.208 H 333.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#F873E4
RGBrgb(248, 115, 228)
HSLhsl(309, 90%, 71%)
HSVhsv(309, 54%, 97%)
CMYKcmyk(0%, 53.6%, 8.1%, 2.7%)
CIE-LABlab(67.89, 64.55, -34.00)
CIE-LCHlch(67.89, 72.96, 332.23°)
OKLaboklab(74.99% 0.1858 -0.0925)
OKLCHoklch(74.99% 0.208 333.5)
XYZxyz(58.8458, 37.8234, 77.5850)
Luminance0.3782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F873E4 #73F887
analogous
#CA73F8 #F873E4 #F873A1
triadic
#F873E4 #E4F873 #73E4F8
tetradic
#F873E4 #F8CA73 #73F887 #73A1F8
square
#F873E4 #F8CA73 #73F887 #73A1F8
split-complementary
#F873E4 #A1F873 #73F8CA
monochromatic
#E50BC4 #F539D9 #F873E4 #FBADEF #FEE2F9

Accessibility & contrast

On white

2.45
#F873E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#F873E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F873E4
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F873E4#FFFFFF#000000##000000
##F873E41.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7199E8
Deuteranopia (green-blind)
#98ACE0
Tritanopia (blue-blind)
#FF7CA1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f873e4;
/* rgb */ color: rgb(248, 115, 228);
/* oklch */ color: oklch(75.0% 0.208 333.5);
Tailwind
colors: {
  custom: {
    50: '#fda1ed',
    500: '#f873e4',
    950: '#000000',
  },
}
SCSS
$custom: #f873e4;
$custom-light: #fda1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f873e4",
  "rgb": {
    "r": 248,
    "g": 115,
    "b": 228
  },
  "hsl": {
    "h": 309.023,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74986,
    "c": 0.20753,
    "h": 333.5
  },
  "luminance": 0.37819
}

Semantic roles & 50–950 ramp

primary
#F873E4
secondary
#D2F5D7
accent
#E62300
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F873E4

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

Preview Lab → · Contrast checker → · Palette generator →

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