#F874F7#F874F7

#F874F7 is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 76.0% C 0.221 H 327.8°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#F874F7
RGBrgb(248, 116, 247)
HSLhsl(300, 90%, 71%)
HSVhsv(300, 53%, 97%)
CMYKcmyk(0%, 53.2%, 0.4%, 2.7%)
CIE-LABlab(68.87, 67.21, -42.94)
CIE-LCHlch(68.87, 79.76, 327.42°)
OKLaboklab(75.97% 0.1873 -0.1181)
OKLCHoklch(75.97% 0.221 327.8)
XYZxyz(61.7444, 39.1663, 92.2853)
Luminance0.3916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F874F7 #74F875
analogous
#B774F8 #F874F7 #F874B5
triadic
#F874F7 #F7F874 #74F7F8
tetradic
#F874F7 #F8B774 #74F875 #74B5F8
square
#F874F7 #F8B774 #74F875 #74B5F8
split-complementary
#F874F7 #B5F874 #74F8B7
monochromatic
#E60CE4 #F53AF4 #F874F7 #FBAEFA #FEE2FD

Accessibility & contrast

On white

2.38
#F874F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#F874F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F874F7
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F874F7#FFFFFF#000000##000000
##F874F71.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#91AEF3
Tritanopia (blue-blind)
#FF83AB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f874f7;
/* rgb */ color: rgb(248, 116, 247);
/* oklch */ color: oklch(76.0% 0.221 327.8);
Tailwind
colors: {
  custom: {
    50: '#fda2fa',
    500: '#f874f7',
    950: '#000000',
  },
}
SCSS
$custom: #f874f7;
$custom-light: #fda2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f874f7",
  "rgb": {
    "r": 248,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 300.455,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75974,
    "c": 0.22139,
    "h": 327.8
  },
  "luminance": 0.39163
}

Semantic roles & 50–950 ramp

primary
#F874F7
secondary
#D3F5D3
accent
#E60200
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F874F7

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

Preview Lab → · Contrast checker → · Palette generator →

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