#F87DF5#F87DF5

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

Color values

HEX#F87DF5
RGBrgb(248, 125, 245)
HSLhsl(301, 90%, 73%)
HSVhsv(301, 50%, 97%)
CMYKcmyk(0%, 49.6%, 1.2%, 2.7%)
CIE-LABlab(70.33, 62.74, -39.57)
CIE-LCHlch(70.33, 74.18, 327.76°)
OKLaboklab(77.02% 0.1754 -0.1085)
OKLCHoklch(77.02% 0.206 328.3)
XYZxyz(62.5255, 41.2198, 91.0314)
Luminance0.4122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87DF5 #7DF880
analogous
#BD7DF8 #F87DF5 #F87DB8
triadic
#F87DF5 #F5F87D #7DF5F8
tetradic
#F87DF5 #F8BD7D #7DF880 #7DB8F8
square
#F87DF5 #F8BD7D #7DF880 #7DB8F8
split-complementary
#F87DF5 #B8F87D #7DF8BD
monochromatic
#EE0DE8 #F543F1 #F87DF5 #FBB7F9 #FDE2FD

Accessibility & contrast

On white

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

On black

9.24
#F87DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87DF5
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87DF5#FFFFFF#000000##000000
##F87DF51.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2F9
Deuteranopia (green-blind)
#98B2F1
Tritanopia (blue-blind)
#FF89AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87df5;
/* rgb */ color: rgb(248, 125, 245);
/* oklch */ color: oklch(77.0% 0.206 328.3);
Tailwind
colors: {
  custom: {
    50: '#fda7f9',
    500: '#f87df5',
    950: '#000000',
  },
}
SCSS
$custom: #f87df5;
$custom-light: #fda7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f87df5",
  "rgb": {
    "r": 248,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 301.463,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.77019,
    "c": 0.20618,
    "h": 328.3
  },
  "luminance": 0.41216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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