#F87DF8#F87DF8

#F87DF8 is a light, highly saturated purple. Relative luminance 0.414; OKLCH L 77.2% C 0.209 H 327.4°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#F87DF8
RGBrgb(248, 125, 248)
HSLhsl(300, 90%, 73%)
HSVhsv(300, 50%, 97%)
CMYKcmyk(0%, 49.6%, 0%, 2.7%)
CIE-LABlab(70.46, 63.26, -41.01)
CIE-LCHlch(70.46, 75.39, 327.05°)
OKLaboklab(77.16% 0.1758 -0.1126)
OKLCHoklch(77.16% 0.209 327.4)
XYZxyz(62.9872, 41.4045, 93.4629)
Luminance0.4140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87DF8 #7DF87D
analogous
#BA7DF8 #F87DF8 #F87DBA
triadic
#F87DF8 #F8F87D #7DF8F8
tetradic
#F87DF8 #F8BA7D #7DF87D #7DBAF8
square
#F87DF8 #F8BA7D #7DF87D #7DBAF8
split-complementary
#F87DF8 #BAF87D #7DF8BA
monochromatic
#EE0DEE #F543F5 #F87DF8 #FBB7FB #FDE2FD

Accessibility & contrast

On white

2.26
#F87DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#F87DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87DF8
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87DF8#FFFFFF#000000##000000
##F87DF81.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#97B2F4
Tritanopia (blue-blind)
#FE8AB0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87df8;
/* rgb */ color: rgb(248, 125, 248);
/* oklch */ color: oklch(77.2% 0.209 327.4);
Tailwind
colors: {
  custom: {
    50: '#fda7fb',
    500: '#f87df8',
    950: '#000000',
  },
}
SCSS
$custom: #f87df8;
$custom-light: #fda7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f87df8",
  "rgb": {
    "r": 248,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 300,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.77157,
    "c": 0.20876,
    "h": 327.4
  },
  "luminance": 0.41401
}

Semantic roles & 50–950 ramp

primary
#F87DF8
secondary
#D5F6D5
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F87DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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