#F87EFE#F87EFE

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

Color values

HEX#F87EFE
RGBrgb(248, 126, 254)
HSLhsl(297, 98%, 75%)
HSVhsv(297, 50%, 100%)
CMYKcmyk(2.4%, 50.4%, 0%, 0.4%)
CIE-LABlab(70.90, 63.83, -43.60)
CIE-LCHlch(70.90, 77.30, 325.66°)
OKLaboklab(77.57% 0.1753 -0.12)
OKLCHoklch(77.57% 0.212 325.6)
XYZxyz(64.0602, 42.0373, 98.4865)
Luminance0.4203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EFE #84FE7E
analogous
#B87EFE #F87EFE #FE7EC4
triadic
#F87EFE #FEF87E #7EFEF8
tetradic
#F87EFE #FEB87E #84FE7E #7EC4FE
square
#F87EFE #FEB87E #84FE7E #7EC4FE
split-complementary
#F87EFE #C4FE7E #7EFEB8
monochromatic
#F105FD #F541FE #F87EFE #FBBBFE #FDE1FF

Accessibility & contrast

On white

2.23
#F87EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#F87EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EFE
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EFE#FFFFFF#000000##000000
##F87EFE1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA4FF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#FD8DB3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f87efe;
/* rgb */ color: rgb(248, 126, 254);
/* oklch */ color: oklch(77.6% 0.212 325.6);
Tailwind
colors: {
  custom: {
    50: '#fda8ff',
    500: '#f87efe',
    950: '#000000',
  },
}
SCSS
$custom: #f87efe;
$custom-light: #fda8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f87efe",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 297.188,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77566,
    "c": 0.21247,
    "h": 325.6
  },
  "luminance": 0.42034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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