#F873F8#F873F8

#F873F8 is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.9% C 0.224 H 327.5°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#F873F8
RGBrgb(248, 115, 248)
HSLhsl(300, 90%, 71%)
HSVhsv(300, 54%, 97%)
CMYKcmyk(0%, 53.6%, 0%, 2.7%)
CIE-LABlab(68.75, 67.82, -43.68)
CIE-LCHlch(68.75, 80.67, 327.22°)
OKLaboklab(75.9% 0.1887 -0.1202)
OKLCHoklch(75.9% 0.224 327.5)
XYZxyz(61.7844, 38.9989, 93.0620)
Luminance0.3900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F873F8 #73F873
analogous
#B573F8 #F873F8 #F873B5
triadic
#F873F8 #F8F873 #73F8F8
tetradic
#F873F8 #F8B573 #73F873 #73B5F8
square
#F873F8 #F8B573 #73F873 #73B5F8
split-complementary
#F873F8 #B5F873 #73F8B5
monochromatic
#E50BE5 #F539F5 #F873F8 #FBADFB #FEE2FE

Accessibility & contrast

On white

2.39
#F873F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#F873F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F873F8
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F873F8#FFFFFF#000000##000000
##F873F81.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFC
Deuteranopia (green-blind)
#90AEF4
Tritanopia (blue-blind)
#FF82AB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f873f8;
/* rgb */ color: rgb(248, 115, 248);
/* oklch */ color: oklch(75.9% 0.224 327.5);
Tailwind
colors: {
  custom: {
    50: '#fda1fb',
    500: '#f873f8',
    950: '#000000',
  },
}
SCSS
$custom: #f873f8;
$custom-light: #fda1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f873f8",
  "rgb": {
    "r": 248,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 300,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.759,
    "c": 0.22369,
    "h": 327.5
  },
  "luminance": 0.38995
}

Semantic roles & 50–950 ramp

primary
#F873F8
secondary
#D2F5D2
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F873F8

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

Preview Lab → · Contrast checker → · Palette generator →

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