#F874FB#F874FB

#F874FB is a light, highly saturated purple. Relative luminance 0.394; OKLCH L 76.2% C 0.225 H 326.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#F874FB
RGBrgb(248, 116, 251)
HSLhsl(299, 94%, 72%)
HSVhsv(299, 54%, 98%)
CMYKcmyk(1.2%, 53.8%, 0%, 1.6%)
CIE-LABlab(69.05, 67.89, -44.85)
CIE-LCHlch(69.05, 81.37, 326.55°)
OKLaboklab(76.17% 0.1878 -0.1236)
OKLCHoklch(76.17% 0.225 326.6)
XYZxyz(62.3682, 39.4159, 95.5710)
Luminance0.3941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F874FB #77FB74
analogous
#B574FB #F874FB #FB74BA
triadic
#F874FB #FBF874 #74FBF8
tetradic
#F874FB #FBB574 #77FB74 #74BAFB
square
#F874FB #FBB574 #77FB74 #74BAFB
split-complementary
#F874FB #BAFB74 #74FBB5
monochromatic
#E907EE #F539F9 #F874FB #FBAFFD #FEE1FE

Accessibility & contrast

On white

2.36
#F874FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#F874FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F874FB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F874FB#FFFFFF#000000##000000
##F874FB1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#8FAFF7
Tritanopia (blue-blind)
#FE84AD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f874fb;
/* rgb */ color: rgb(248, 116, 251);
/* oklch */ color: oklch(76.2% 0.225 326.6);
Tailwind
colors: {
  custom: {
    50: '#fda2fd',
    500: '#f874fb',
    950: '#000000',
  },
}
SCSS
$custom: #f874fb;
$custom-light: #fda2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f874fb",
  "rgb": {
    "r": 248,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 298.667,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.76165,
    "c": 0.22477,
    "h": 326.6
  },
  "luminance": 0.39412
}

Semantic roles & 50–950 ramp

primary
#F874FB
secondary
#D5F6D4
accent
#E60005
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F874FB

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

Preview Lab → · Contrast checker → · Palette generator →

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