#F87AFA#F87AFA

#F87AFA is a light, highly saturated purple. Relative luminance 0.408; OKLCH L 76.9% C 0.215 H 326.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#F87AFA
RGBrgb(248, 122, 250)
HSLhsl(299, 93%, 73%)
HSVhsv(299, 51%, 98%)
CMYKcmyk(0.8%, 51.2%, 0%, 2%)
CIE-LABlab(70.02, 64.99, -42.78)
CIE-LCHlch(70.02, 77.81, 326.64°)
OKLaboklab(76.86% 0.18 -0.1177)
OKLCHoklch(76.86% 0.215 326.8)
XYZxyz(62.9251, 40.7812, 94.9811)
Luminance0.4078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AFA #7CFA7A
analogous
#B87AFA #F87AFA #FA7ABC
triadic
#F87AFA #FAF87A #7AFAF8
tetradic
#F87AFA #FAB87A #7CFA7A #7ABCFA
square
#F87AFA #FAB87A #7CFA7A #7ABCFA
split-complementary
#F87AFA #BCFA7A #7AFAB8
monochromatic
#ED09F1 #F53FF8 #F87AFA #FBB5FC #FDE2FE

Accessibility & contrast

On white

2.29
#F87AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#F87AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87AFA
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87AFA#FFFFFF#000000##000000
##F87AFA1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#94B1F6
Tritanopia (blue-blind)
#FE89AF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87afa;
/* rgb */ color: rgb(248, 122, 250);
/* oklch */ color: oklch(76.9% 0.215 326.8);
Tailwind
colors: {
  custom: {
    50: '#fda5fc',
    500: '#f87afa',
    950: '#000000',
  },
}
SCSS
$custom: #f87afa;
$custom-light: #fda5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f87afa",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 299.063,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76864,
    "c": 0.21504,
    "h": 326.8
  },
  "luminance": 0.40778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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