#F87AF8#F87AF8

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

Color values

HEX#F87AF8
RGBrgb(248, 122, 248)
HSLhsl(300, 90%, 73%)
HSVhsv(300, 51%, 97%)
CMYKcmyk(0%, 50.8%, 0%, 2.7%)
CIE-LABlab(69.93, 64.65, -41.83)
CIE-LCHlch(69.93, 77.00, 327.10°)
OKLaboklab(76.77% 0.1797 -0.1149)
OKLCHoklch(76.77% 0.213 327.4)
XYZxyz(62.6132, 40.6564, 93.3382)
Luminance0.4065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AF8 #7AF87A
analogous
#B97AF8 #F87AF8 #F87AB9
triadic
#F87AF8 #F8F87A #7AF8F8
tetradic
#F87AF8 #F8B97A #7AF87A #7AB9F8
square
#F87AF8 #F8B97A #7AF87A #7AB9F8
split-complementary
#F87AF8 #B9F87A #7AF8B9
monochromatic
#EB0CEB #F540F5 #F87AF8 #FBB4FB #FDE2FD

Accessibility & contrast

On white

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

On black

9.13
#F87AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87AF8
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87AF8#FFFFFF#000000##000000
##F87AF81.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FC
Deuteranopia (green-blind)
#94B1F4
Tritanopia (blue-blind)
#FF88AE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87af8;
/* rgb */ color: rgb(248, 122, 248);
/* oklch */ color: oklch(76.8% 0.213 327.4);
Tailwind
colors: {
  custom: {
    50: '#fda5fb',
    500: '#f87af8',
    950: '#000000',
  },
}
SCSS
$custom: #f87af8;
$custom-light: #fda5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f87af8",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 300,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7677,
    "c": 0.21332,
    "h": 327.4
  },
  "luminance": 0.40653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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