#F87DFB#F87DFB

#F87DFB is a light, highly saturated purple. Relative luminance 0.416; OKLCH L 77.3% C 0.211 H 326.5°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#F87DFB
RGBrgb(248, 125, 251)
HSLhsl(299, 94%, 74%)
HSVhsv(299, 50%, 98%)
CMYKcmyk(1.2%, 50.2%, 0%, 1.6%)
CIE-LABlab(70.59, 63.77, -42.44)
CIE-LCHlch(70.59, 76.61, 326.35°)
OKLaboklab(77.3% 0.1762 -0.1167)
OKLCHoklch(77.3% 0.211 326.5)
XYZxyz(63.4564, 41.5922, 95.9337)
Luminance0.4159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87DFB #80FB7D
analogous
#B97DFB #F87DFB #FB7DBF
triadic
#F87DFB #FBF87D #7DFBF8
tetradic
#F87DFB #FBB97D #80FB7D #7DBFFB
square
#F87DFB #FBB97D #80FB7D #7DBFFB
split-complementary
#F87DFB #BFFB7D #7DFBB9
monochromatic
#F008F6 #F542F9 #F87DFB #FBB8FD #FDE1FE

Accessibility & contrast

On white

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

On black

9.32
#F87DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87DFB
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87DFB#FFFFFF#000000##000000
##F87DFB1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#95B2F7
Tritanopia (blue-blind)
#FE8BB1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f87dfb;
/* rgb */ color: rgb(248, 125, 251);
/* oklch */ color: oklch(77.3% 0.211 326.5);
Tailwind
colors: {
  custom: {
    50: '#fda7fd',
    500: '#f87dfb',
    950: '#000000',
  },
}
SCSS
$custom: #f87dfb;
$custom-light: #fda7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f87dfb",
  "rgb": {
    "r": 248,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 298.571,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77296,
    "c": 0.21136,
    "h": 326.5
  },
  "luminance": 0.41589
}

Semantic roles & 50–950 ramp

primary
#F87DFB
secondary
#D6F6D5
accent
#E60005
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F87DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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