#F87DF4#F87DF4

#F87DF4 is a light, highly saturated purple. Relative luminance 0.412; OKLCH L 77.0% C 0.205 H 328.6°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#F87DF4
RGBrgb(248, 125, 244)
HSLhsl(302, 90%, 73%)
HSVhsv(302, 50%, 97%)
CMYKcmyk(0%, 49.6%, 1.6%, 2.7%)
CIE-LABlab(70.29, 62.57, -39.09)
CIE-LCHlch(70.29, 73.78, 328.01°)
OKLaboklab(76.97% 0.1752 -0.1071)
OKLCHoklch(76.97% 0.205 328.6)
XYZxyz(62.3733, 41.1589, 90.2295)
Luminance0.4116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87DF4 #7DF881
analogous
#BE7DF8 #F87DF4 #F87DB6
triadic
#F87DF4 #F4F87D #7DF4F8
tetradic
#F87DF4 #F8BE7D #7DF881 #7DB6F8
square
#F87DF4 #F8BE7D #7DF881 #7DB6F8
split-complementary
#F87DF4 #B6F87D #7DF8BE
monochromatic
#EE0DE6 #F543EF #F87DF4 #FBB7F9 #FDE2FD

Accessibility & contrast

On white

2.27
#F87DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#F87DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87DF4
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87DF4#FFFFFF#000000##000000
##F87DF41.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F8
Deuteranopia (green-blind)
#98B2F0
Tritanopia (blue-blind)
#FF89AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87df4;
/* rgb */ color: rgb(248, 125, 244);
/* oklch */ color: oklch(77.0% 0.205 328.6);
Tailwind
colors: {
  custom: {
    50: '#fda7f8',
    500: '#f87df4',
    950: '#000000',
  },
}
SCSS
$custom: #f87df4;
$custom-light: #fda7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f87df4",
  "rgb": {
    "r": 248,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 301.951,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76974,
    "c": 0.20533,
    "h": 328.6
  },
  "luminance": 0.41155
}

Semantic roles & 50–950 ramp

primary
#F87DF4
secondary
#D5F6D7
accent
#E60700
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F87DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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