#F874F9#F874F9

#F874F9 is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 76.1% C 0.223 H 327.2°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#F874F9
RGBrgb(248, 116, 249)
HSLhsl(300, 92%, 72%)
HSVhsv(300, 53%, 98%)
CMYKcmyk(0.4%, 53.4%, 0%, 2.4%)
CIE-LABlab(68.96, 67.55, -43.90)
CIE-LCHlch(68.96, 80.56, 326.98°)
OKLaboklab(76.07% 0.1875 -0.1208)
OKLCHoklch(76.07% 0.223 327.2)
XYZxyz(62.0546, 39.2904, 93.9194)
Luminance0.3929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F874F9 #75F974
analogous
#B674F9 #F874F9 #F974B8
triadic
#F874F9 #F9F874 #74F9F8
tetradic
#F874F9 #F9B674 #75F974 #74B8F9
square
#F874F9 #F9B674 #75F974 #74B8F9
split-complementary
#F874F9 #B8F974 #74F9B6
monochromatic
#E70AE9 #F539F6 #F874F9 #FBAFFC #FEE2FE

Accessibility & contrast

On white

2.37
#F874F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#F874F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F874F9
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F874F9#FFFFFF#000000##000000
##F874F91.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFD
Deuteranopia (green-blind)
#90AEF5
Tritanopia (blue-blind)
#FF83AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f874f9;
/* rgb */ color: rgb(248, 116, 249);
/* oklch */ color: oklch(76.1% 0.223 327.2);
Tailwind
colors: {
  custom: {
    50: '#fda2fb',
    500: '#f874f9',
    950: '#000000',
  },
}
SCSS
$custom: #f874f9;
$custom-light: #fda2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f874f9",
  "rgb": {
    "r": 248,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 299.549,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.76069,
    "c": 0.22307,
    "h": 327.2
  },
  "luminance": 0.39287
}

Semantic roles & 50–950 ramp

primary
#F874F9
secondary
#D4F5D3
accent
#E60002
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F874F9

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

Preview Lab → · Contrast checker → · Palette generator →

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