#F87DF7#F87DF7

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

Color values

HEX#F87DF7
RGBrgb(248, 125, 247)
HSLhsl(300, 90%, 73%)
HSVhsv(300, 50%, 97%)
CMYKcmyk(0%, 49.6%, 0.4%, 2.7%)
CIE-LABlab(70.42, 63.08, -40.53)
CIE-LCHlch(70.42, 74.98, 327.28°)
OKLaboklab(77.11% 0.1757 -0.1112)
OKLCHoklch(77.11% 0.208 327.7)
XYZxyz(62.8325, 41.3426, 92.6480)
Luminance0.4134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87DF7 #7DF87E
analogous
#BB7DF8 #F87DF7 #F87DB9
triadic
#F87DF7 #F7F87D #7DF7F8
tetradic
#F87DF7 #F8BB7D #7DF87E #7DB9F8
square
#F87DF7 #F8BB7D #7DF87E #7DB9F8
split-complementary
#F87DF7 #B9F87D #7DF8BB
monochromatic
#EE0DEC #F543F3 #F87DF7 #FBB7FB #FDE2FD

Accessibility & contrast

On white

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

On black

9.27
#F87DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87DF7
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87DF7#FFFFFF#000000##000000
##F87DF71.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#97B2F3
Tritanopia (blue-blind)
#FF8AAF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87df7;
/* rgb */ color: rgb(248, 125, 247);
/* oklch */ color: oklch(77.1% 0.208 327.7);
Tailwind
colors: {
  custom: {
    50: '#fda7fa',
    500: '#f87df7',
    950: '#000000',
  },
}
SCSS
$custom: #f87df7;
$custom-light: #fda7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f87df7",
  "rgb": {
    "r": 248,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 300.488,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.77111,
    "c": 0.2079,
    "h": 327.7
  },
  "luminance": 0.41339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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