#F87DFC#F87DFC

#F87DFC is a light, highly saturated purple. Relative luminance 0.417; OKLCH L 77.3% C 0.212 H 326.2°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#F87DFC
RGBrgb(248, 125, 252)
HSLhsl(298, 95%, 74%)
HSVhsv(298, 50%, 99%)
CMYKcmyk(1.6%, 50.4%, 0%, 1.2%)
CIE-LABlab(70.63, 63.95, -42.92)
CIE-LCHlch(70.63, 77.02, 326.13°)
OKLaboklab(77.34% 0.1764 -0.1181)
OKLCHoklch(77.34% 0.212 326.2)
XYZxyz(63.6144, 41.6554, 96.7661)
Luminance0.4165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87DFC #81FC7D
analogous
#B97DFC #F87DFC #FC7DC1
triadic
#F87DFC #FCF87D #7DFCF8
tetradic
#F87DFC #FCB97D #81FC7D #7DC1FC
square
#F87DFC #FCB97D #81FC7D #7DC1FC
split-complementary
#F87DFC #C1FC7D #7DFCB9
monochromatic
#F106F9 #F541FB #F87DFC #FBB9FD #FDE1FE

Accessibility & contrast

On white

2.25
#F87DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#F87DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87DFC
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87DFC#FFFFFF#000000##000000
##F87DFC1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#95B2F8
Tritanopia (blue-blind)
#FE8CB1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f87dfc;
/* rgb */ color: rgb(248, 125, 252);
/* oklch */ color: oklch(77.3% 0.212 326.2);
Tailwind
colors: {
  custom: {
    50: '#fda7fe',
    500: '#f87dfc',
    950: '#000000',
  },
}
SCSS
$custom: #f87dfc;
$custom-light: #fda7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f87dfc",
  "rgb": {
    "r": 248,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 298.11,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77342,
    "c": 0.21224,
    "h": 326.2
  },
  "luminance": 0.41652
}

Semantic roles & 50–950 ramp

primary
#F87DFC
secondary
#D6F7D4
accent
#E60007
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F87DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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