#F87DFD#F87DFD

#F87DFD is a light, highly saturated purple. Relative luminance 0.417; OKLCH L 77.4% C 0.213 H 325.9°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#F87DFD
RGBrgb(248, 125, 253)
HSLhsl(298, 97%, 74%)
HSVhsv(298, 51%, 99%)
CMYKcmyk(2%, 50.6%, 0%, 0.8%)
CIE-LABlab(70.68, 64.12, -43.40)
CIE-LCHlch(70.68, 77.43, 325.91°)
OKLaboklab(77.39% 0.1765 -0.1194)
OKLCHoklch(77.39% 0.213 325.9)
XYZxyz(63.7733, 41.7189, 97.6029)
Luminance0.4172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87DFD #82FD7D
analogous
#B87DFD #F87DFD #FD7DC2
triadic
#F87DFD #FDF87D #7DFDF8
tetradic
#F87DFD #FDB87D #82FD7D #7DC2FD
square
#F87DFD #FDB87D #82FD7D #7DC2FD
split-complementary
#F87DFD #C2FD7D #7DFDB8
monochromatic
#F204FB #F541FC #F87DFD #FBB9FE #FDE1FF

Accessibility & contrast

On white

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

On black

9.34
#F87DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87DFD
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87DFD#FFFFFF#000000##000000
##F87DFD1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#94B2F9
Tritanopia (blue-blind)
#FE8CB2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f87dfd;
/* rgb */ color: rgb(248, 125, 253);
/* oklch */ color: oklch(77.4% 0.213 325.9);
Tailwind
colors: {
  custom: {
    50: '#fda7fe',
    500: '#f87dfd',
    950: '#000000',
  },
}
SCSS
$custom: #f87dfd;
$custom-light: #fda7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f87dfd",
  "rgb": {
    "r": 248,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 297.656,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77389,
    "c": 0.21311,
    "h": 325.9
  },
  "luminance": 0.41716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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