#F87EFD#F87EFD

#F87EFD is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.5% C 0.212 H 325.9°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#F87EFD
RGBrgb(248, 126, 253)
HSLhsl(298, 97%, 74%)
HSVhsv(298, 50%, 99%)
CMYKcmyk(2%, 50.2%, 0%, 0.8%)
CIE-LABlab(70.85, 63.65, -43.12)
CIE-LCHlch(70.85, 76.88, 325.88°)
OKLaboklab(77.52% 0.1752 -0.1187)
OKLCHoklch(77.52% 0.212 325.9)
XYZxyz(63.9005, 41.9734, 97.6453)
Luminance0.4197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EFD #83FD7E
analogous
#B97EFD #F87EFD #FD7EC3
triadic
#F87EFD #FDF87E #7EFDF8
tetradic
#F87EFD #FDB97E #83FD7E #7EC3FD
square
#F87EFD #FDB97E #83FD7E #7EC3FD
split-complementary
#F87EFD #C3FD7E #7EFDB9
monochromatic
#F105FB #F542FC #F87EFD #FBBAFE #FDE1FF

Accessibility & contrast

On white

2.24
#F87EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#F87EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EFD
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EFD#FFFFFF#000000##000000
##F87EFD1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#95B3F9
Tritanopia (blue-blind)
#FE8DB2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f87efd;
/* rgb */ color: rgb(248, 126, 253);
/* oklch */ color: oklch(77.5% 0.212 325.9);
Tailwind
colors: {
  custom: {
    50: '#fda8fe',
    500: '#f87efd',
    950: '#000000',
  },
}
SCSS
$custom: #f87efd;
$custom-light: #fda8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f87efd",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 297.638,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77519,
    "c": 0.21159,
    "h": 325.9
  },
  "luminance": 0.4197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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