#F874FE#F874FE

#F874FE is a light, highly saturated purple. Relative luminance 0.396; OKLCH L 76.3% C 0.227 H 325.8°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#F874FE
RGBrgb(248, 116, 254)
HSLhsl(297, 99%, 73%)
HSVhsv(297, 54%, 100%)
CMYKcmyk(2.4%, 54.3%, 0%, 0.4%)
CIE-LABlab(69.19, 68.40, -46.28)
CIE-LCHlch(69.19, 82.59, 325.92°)
OKLaboklab(76.31% 0.1881 -0.1277)
OKLCHoklch(76.31% 0.227 325.8)
XYZxyz(62.8449, 39.6065, 98.0813)
Luminance0.3960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F874FE #7AFE74
analogous
#B374FE #F874FE #FE74BF
triadic
#F874FE #FEF874 #74FEF8
tetradic
#F874FE #FEB374 #7AFE74 #74BFFE
square
#F874FE #FEB374 #7AFE74 #74BFFE
split-complementary
#F874FE #BFFE74 #74FEB3
monochromatic
#EB02F6 #F537FE #F874FE #FBB1FE #FDE1FF

Accessibility & contrast

On white

2.35
#F874FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#F874FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F874FE
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F874FE#FFFFFF#000000##000000
##F874FE1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#8EAFFA
Tritanopia (blue-blind)
#FE85AF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f874fe;
/* rgb */ color: rgb(248, 116, 254);
/* oklch */ color: oklch(76.3% 0.227 325.8);
Tailwind
colors: {
  custom: {
    50: '#fda2ff',
    500: '#f874fe',
    950: '#000000',
  },
}
SCSS
$custom: #f874fe;
$custom-light: #fda2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f874fe",
  "rgb": {
    "r": 248,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 297.391,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7631,
    "c": 0.22732,
    "h": 325.8
  },
  "luminance": 0.39603
}

Semantic roles & 50–950 ramp

primary
#F874FE
secondary
#D5F7D4
accent
#E6000A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F874FE

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

Preview Lab → · Contrast checker → · Palette generator →

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