#F873E7#F873E7

#F873E7 is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 75.1% C 0.210 H 332.6°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#F873E7
RGBrgb(248, 115, 231)
HSLhsl(308, 90%, 71%)
HSVhsv(308, 54%, 97%)
CMYKcmyk(0%, 53.6%, 6.9%, 2.7%)
CIE-LABlab(68.01, 65.03, -35.47)
CIE-LCHlch(68.01, 74.07, 331.39°)
OKLaboklab(75.12% 0.1863 -0.0967)
OKLCHoklch(75.12% 0.21 332.6)
XYZxyz(59.2658, 37.9915, 79.7973)
Luminance0.3799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F873E7 #73F884
analogous
#C673F8 #F873E7 #F873A4
triadic
#F873E7 #E7F873 #73E7F8
tetradic
#F873E7 #F8C673 #73F884 #73A4F8
square
#F873E7 #F8C673 #73F884 #73A4F8
split-complementary
#F873E7 #A4F873 #73F8C6
monochromatic
#E50BC9 #F539DD #F873E7 #FBADF1 #FEE2FA

Accessibility & contrast

On white

2.44
#F873E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#F873E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F873E7
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F873E7#FFFFFF#000000##000000
##F873E71.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9AEB
Deuteranopia (green-blind)
#97ADE3
Tritanopia (blue-blind)
#FF7DA3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f873e7;
/* rgb */ color: rgb(248, 115, 231);
/* oklch */ color: oklch(75.1% 0.210 332.6);
Tailwind
colors: {
  custom: {
    50: '#fda1ef',
    500: '#f873e7',
    950: '#000000',
  },
}
SCSS
$custom: #f873e7;
$custom-light: #fda1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f873e7",
  "rgb": {
    "r": 248,
    "g": 115,
    "b": 231
  },
  "hsl": {
    "h": 307.669,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75118,
    "c": 0.20987,
    "h": 332.6
  },
  "luminance": 0.37987
}

Semantic roles & 50–950 ramp

primary
#F873E7
secondary
#D2F5D6
accent
#E61D00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F873E7

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

Preview Lab → · Contrast checker → · Palette generator →

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