#F873F5#F873F5

#F873F5 is a light, highly saturated purple. Relative luminance 0.388; OKLCH L 75.8% C 0.221 H 328.4°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#F873F5
RGBrgb(248, 115, 245)
HSLhsl(301, 90%, 71%)
HSVhsv(301, 54%, 97%)
CMYKcmyk(0%, 53.6%, 1.2%, 2.7%)
CIE-LABlab(68.62, 67.32, -42.24)
CIE-LCHlch(68.62, 79.48, 327.89°)
OKLaboklab(75.76% 0.1883 -0.1161)
OKLCHoklch(75.76% 0.221 328.4)
XYZxyz(61.3227, 38.8142, 90.6304)
Luminance0.3881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F873F5 #73F876
analogous
#B873F8 #F873F5 #F873B2
triadic
#F873F5 #F5F873 #73F5F8
tetradic
#F873F5 #F8B873 #73F876 #73B2F8
square
#F873F5 #F8B873 #73F876 #73B2F8
split-complementary
#F873F5 #B2F873 #73F8B8
monochromatic
#E50BE0 #F539F1 #F873F5 #FBADF9 #FEE2FD

Accessibility & contrast

On white

2.40
#F873F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#F873F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F873F5
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F873F5#FFFFFF#000000##000000
##F873F51.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679CF9
Deuteranopia (green-blind)
#91AEF1
Tritanopia (blue-blind)
#FF81AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f873f5;
/* rgb */ color: rgb(248, 115, 245);
/* oklch */ color: oklch(75.8% 0.221 328.4);
Tailwind
colors: {
  custom: {
    50: '#fda1f9',
    500: '#f873f5',
    950: '#000000',
  },
}
SCSS
$custom: #f873f5;
$custom-light: #fda1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f873f5",
  "rgb": {
    "r": 248,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 301.353,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75758,
    "c": 0.22119,
    "h": 328.4
  },
  "luminance": 0.3881
}

Semantic roles & 50–950 ramp

primary
#F873F5
secondary
#D2F5D3
accent
#E60500
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F873F5

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

Preview Lab → · Contrast checker → · Palette generator →

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