#F87CF8#F87CF8

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

Color values

HEX#F87CF8
RGBrgb(248, 124, 248)
HSLhsl(300, 90%, 73%)
HSVhsv(300, 50%, 97%)
CMYKcmyk(0%, 50%, 0%, 2.7%)
CIE-LABlab(70.28, 63.72, -41.28)
CIE-LCHlch(70.28, 75.93, 327.06°)
OKLaboklab(77.03% 0.1771 -0.1134)
OKLCHoklch(77.03% 0.21 327.4)
XYZxyz(62.8613, 41.1526, 93.4209)
Luminance0.4115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CF8 #7CF87C
analogous
#BA7CF8 #F87CF8 #F87CBA
triadic
#F87CF8 #F8F87C #7CF8F8
tetradic
#F87CF8 #F8BA7C #7CF87C #7CBAF8
square
#F87CF8 #F8BA7C #7CF87C #7CBAF8
split-complementary
#F87CF8 #BAF87C #7CF8BA
monochromatic
#ED0DED #F542F5 #F87CF8 #FBB6FB #FDE2FD

Accessibility & contrast

On white

2.28
#F87CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##F87CF8#FFFFFF#000000##000000
##F87CF81.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FC
Deuteranopia (green-blind)
#96B2F4
Tritanopia (blue-blind)
#FE8AAF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87cf8;
/* rgb */ color: rgb(248, 124, 248);
/* oklch */ color: oklch(77.0% 0.210 327.4);
Tailwind
colors: {
  custom: {
    50: '#fda6fb',
    500: '#f87cf8',
    950: '#000000',
  },
}
SCSS
$custom: #f87cf8;
$custom-light: #fda6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f87cf8",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 300,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.77027,
    "c": 0.21029,
    "h": 327.4
  },
  "luminance": 0.41149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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