#F87DF6#F87DF6

#F87DF6 is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.1% C 0.207 H 328.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#F87DF6
RGBrgb(248, 125, 246)
HSLhsl(301, 90%, 73%)
HSVhsv(301, 50%, 97%)
CMYKcmyk(0%, 49.6%, 0.8%, 2.7%)
CIE-LABlab(70.37, 62.91, -40.05)
CIE-LCHlch(70.37, 74.58, 327.52°)
OKLaboklab(77.07% 0.1755 -0.1098)
OKLCHoklch(77.07% 0.207 328)
XYZxyz(62.6786, 41.2811, 91.8375)
Luminance0.4128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87DF6 #7DF87F
analogous
#BD7DF8 #F87DF6 #F87DB8
triadic
#F87DF6 #F6F87D #7DF6F8
tetradic
#F87DF6 #F8BD7D #7DF87F #7DB8F8
square
#F87DF6 #F8BD7D #7DF87F #7DB8F8
split-complementary
#F87DF6 #B8F87D #7DF8BD
monochromatic
#EE0DEA #F543F2 #F87DF6 #FBB7FA #FDE2FD

Accessibility & contrast

On white

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

On black

9.26
#F87DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87DF6
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87DF6#FFFFFF#000000##000000
##F87DF61.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2FA
Deuteranopia (green-blind)
#97B2F2
Tritanopia (blue-blind)
#FF8AAF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87df6;
/* rgb */ color: rgb(248, 125, 246);
/* oklch */ color: oklch(77.1% 0.207 328.0);
Tailwind
colors: {
  custom: {
    50: '#fda7f9',
    500: '#f87df6',
    950: '#000000',
  },
}
SCSS
$custom: #f87df6;
$custom-light: #fda7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f87df6",
  "rgb": {
    "r": 248,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 300.976,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.77065,
    "c": 0.20703,
    "h": 328
  },
  "luminance": 0.41278
}

Semantic roles & 50–950 ramp

primary
#F87DF6
secondary
#D5F6D6
accent
#E60400
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F87DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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