#F87AF9#F87AF9

#F87AF9 is a light, highly saturated purple. Relative luminance 0.407; OKLCH L 76.8% C 0.214 H 327.1°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#F87AF9
RGBrgb(248, 122, 249)
HSLhsl(300, 91%, 73%)
HSVhsv(300, 51%, 98%)
CMYKcmyk(0.4%, 51%, 0%, 2.4%)
CIE-LABlab(69.98, 64.82, -42.31)
CIE-LCHlch(69.98, 77.40, 326.87°)
OKLaboklab(76.82% 0.1799 -0.1163)
OKLCHoklch(76.82% 0.214 327.1)
XYZxyz(62.7687, 40.7186, 94.1575)
Luminance0.4072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AF9 #7BF97A
analogous
#B97AF9 #F87AF9 #F97ABA
triadic
#F87AF9 #F9F87A #7AF9F8
tetradic
#F87AF9 #F9B97A #7BF97A #7ABAF9
square
#F87AF9 #F9B97A #7BF97A #7ABAF9
split-complementary
#F87AF9 #BAF97A #7AF9B9
monochromatic
#EC0BEE #F53FF6 #F87AF9 #FBB5FC #FDE2FE

Accessibility & contrast

On white

2.30
#F87AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#F87AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87AF9
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87AF9#FFFFFF#000000##000000
##F87AF91.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FD
Deuteranopia (green-blind)
#94B1F5
Tritanopia (blue-blind)
#FE88AF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87af9;
/* rgb */ color: rgb(248, 122, 249);
/* oklch */ color: oklch(76.8% 0.214 327.1);
Tailwind
colors: {
  custom: {
    50: '#fda5fb',
    500: '#f87af9',
    950: '#000000',
  },
}
SCSS
$custom: #f87af9;
$custom-light: #fda5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f87af9",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 299.528,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76817,
    "c": 0.21417,
    "h": 327.1
  },
  "luminance": 0.40715
}

Semantic roles & 50–950 ramp

primary
#F87AF9
secondary
#D5F6D5
accent
#E60002
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F87AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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