#F87AFE#F87AFE

#F87AFE is a light, highly saturated purple. Relative luminance 0.410; OKLCH L 77.1% C 0.218 H 325.7°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#F87AFE
RGBrgb(248, 122, 254)
HSLhsl(297, 99%, 74%)
HSVhsv(297, 52%, 100%)
CMYKcmyk(2.4%, 52%, 0%, 0.4%)
CIE-LABlab(70.20, 65.68, -44.69)
CIE-LCHlch(70.20, 79.44, 325.77°)
OKLaboklab(77.05% 0.1805 -0.1231)
OKLCHoklch(77.05% 0.219 325.7)
XYZxyz(63.5590, 41.0347, 98.3194)
Luminance0.4103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AFE #80FE7A
analogous
#B67AFE #F87AFE #FE7AC2
triadic
#F87AFE #FEF87A #7AFEF8
tetradic
#F87AFE #FEB67A #80FE7A #7AC2FE
square
#F87AFE #FEB67A #80FE7A #7AC2FE
split-complementary
#F87AFE #C2FE7A #7AFEB6
monochromatic
#F002FC #F53DFE #F87AFE #FBB7FE #FDE1FF

Accessibility & contrast

On white

2.28
#F87AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#F87AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87AFE
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87AFE#FFFFFF#000000##000000
##F87AFE1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#92B1FA
Tritanopia (blue-blind)
#FD8AB1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87afe;
/* rgb */ color: rgb(248, 122, 254);
/* oklch */ color: oklch(77.1% 0.218 325.7);
Tailwind
colors: {
  custom: {
    50: '#fda5ff',
    500: '#f87afe',
    950: '#000000',
  },
}
SCSS
$custom: #f87afe;
$custom-light: #fda5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f87afe",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 297.273,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77053,
    "c": 0.2185,
    "h": 325.7
  },
  "luminance": 0.41031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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