#F873E2#F873E2

#F873E2 is a light, highly saturated purple. Relative luminance 0.377; OKLCH L 74.9% C 0.206 H 334.2°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#F873E2
RGBrgb(248, 115, 226)
HSLhsl(310, 90%, 71%)
HSVhsv(310, 54%, 97%)
CMYKcmyk(0%, 53.6%, 8.9%, 2.7%)
CIE-LABlab(67.81, 64.24, -33.02)
CIE-LCHlch(67.81, 72.23, 332.80°)
OKLaboklab(74.9% 0.1854 -0.0897)
OKLCHoklch(74.9% 0.206 334.2)
XYZxyz(58.5697, 37.7130, 76.1312)
Luminance0.3771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F873E2 #73F889
analogous
#CB73F8 #F873E2 #F8739F
triadic
#F873E2 #E2F873 #73E2F8
tetradic
#F873E2 #F8CB73 #73F889 #739FF8
square
#F873E2 #F8CB73 #73F889 #739FF8
split-complementary
#F873E2 #9FF873 #73F8CB
monochromatic
#E50BC1 #F539D6 #F873E2 #FBADEE #FEE2F9

Accessibility & contrast

On white

2.46
#F873E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#F873E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F873E2
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F873E2#FFFFFF#000000##000000
##F873E21.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7299E6
Deuteranopia (green-blind)
#99ACDE
Tritanopia (blue-blind)
#FF7BA1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f873e2;
/* rgb */ color: rgb(248, 115, 226);
/* oklch */ color: oklch(74.9% 0.206 334.2);
Tailwind
colors: {
  custom: {
    50: '#fda1eb',
    500: '#f873e2',
    950: '#000000',
  },
}
SCSS
$custom: #f873e2;
$custom-light: #fda1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f873e2",
  "rgb": {
    "r": 248,
    "g": 115,
    "b": 226
  },
  "hsl": {
    "h": 309.925,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74899,
    "c": 0.206,
    "h": 334.2
  },
  "luminance": 0.37709
}

Semantic roles & 50–950 ramp

primary
#F873E2
secondary
#D2F5D8
accent
#E62600
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F873E2

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

Preview Lab → · Contrast checker → · Palette generator →

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