#F874F2#F874F2

#F874F2 is a light, highly saturated purple. Relative luminance 0.389; OKLCH L 75.7% C 0.217 H 329.2°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#F874F2
RGBrgb(248, 116, 242)
HSLhsl(303, 90%, 71%)
HSVhsv(303, 53%, 97%)
CMYKcmyk(0%, 53.2%, 2.4%, 2.7%)
CIE-LABlab(68.65, 66.37, -40.54)
CIE-LCHlch(68.65, 77.77, 328.58°)
OKLaboklab(75.74% 0.1866 -0.1112)
OKLCHoklch(75.74% 0.217 329.2)
XYZxyz(60.9831, 38.8618, 88.2762)
Luminance0.3886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F874F2 #74F87A
analogous
#BC74F8 #F874F2 #F874B0
triadic
#F874F2 #F2F874 #74F2F8
tetradic
#F874F2 #F8BC74 #74F87A #74B0F8
square
#F874F2 #F8BC74 #74F87A #74B0F8
split-complementary
#F874F2 #B0F874 #74F8BC
monochromatic
#E60CDC #F53AED #F874F2 #FBAEF7 #FEE2FC

Accessibility & contrast

On white

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

On black

8.77
#F874F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F874F2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F874F2#FFFFFF#000000##000000
##F874F21.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#93AEEE
Tritanopia (blue-blind)
#FF81A9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f874f2;
/* rgb */ color: rgb(248, 116, 242);
/* oklch */ color: oklch(75.7% 0.217 329.2);
Tailwind
colors: {
  custom: {
    50: '#fda2f6',
    500: '#f874f2',
    950: '#000000',
  },
}
SCSS
$custom: #f874f2;
$custom-light: #fda2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f874f2",
  "rgb": {
    "r": 248,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 302.727,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7574,
    "c": 0.21725,
    "h": 329.2
  },
  "luminance": 0.38858
}

Semantic roles & 50–950 ramp

primary
#F874F2
secondary
#D3F5D4
accent
#E60A00
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F874F2

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

Preview Lab → · Contrast checker → · Palette generator →

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