#F874E7#F874E7

#F874E7 is a light, highly saturated purple. Relative luminance 0.382; OKLCH L 75.2% C 0.208 H 332.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#F874E7
RGBrgb(248, 116, 231)
HSLhsl(308, 90%, 71%)
HSVhsv(308, 53%, 97%)
CMYKcmyk(0%, 53.2%, 6.9%, 2.7%)
CIE-LABlab(68.18, 64.58, -35.20)
CIE-LCHlch(68.18, 73.55, 331.40°)
OKLaboklab(75.24% 0.185 -0.0959)
OKLCHoklch(75.24% 0.208 332.6)
XYZxyz(59.3805, 38.2208, 79.8356)
Luminance0.3822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F874E7 #74F885
analogous
#C774F8 #F874E7 #F874A5
triadic
#F874E7 #E7F874 #74E7F8
tetradic
#F874E7 #F8C774 #74F885 #74A5F8
square
#F874E7 #F8C774 #74F885 #74A5F8
split-complementary
#F874E7 #A5F874 #74F8C7
monochromatic
#E60CCA #F53ADD #F874E7 #FBAEF1 #FEE2FA

Accessibility & contrast

On white

2.43
#F874E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#F874E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F874E7
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F874E7#FFFFFF#000000##000000
##F874E71.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709AEB
Deuteranopia (green-blind)
#98ADE3
Tritanopia (blue-blind)
#FF7EA3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f874e7;
/* rgb */ color: rgb(248, 116, 231);
/* oklch */ color: oklch(75.2% 0.208 332.6);
Tailwind
colors: {
  custom: {
    50: '#fda1ef',
    500: '#f874e7',
    950: '#000000',
  },
}
SCSS
$custom: #f874e7;
$custom-light: #fda1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f874e7",
  "rgb": {
    "r": 248,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 307.727,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75242,
    "c": 0.20837,
    "h": 332.6
  },
  "luminance": 0.38217
}

Semantic roles & 50–950 ramp

primary
#F874E7
secondary
#D3F5D7
accent
#E61E00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F874E7

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

Preview Lab → · Contrast checker → · Palette generator →

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