#F87AF7#F87AF7

#F87AF7 is a light, highly saturated purple. Relative luminance 0.406; OKLCH L 76.7% C 0.212 H 327.7°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#F87AF7
RGBrgb(248, 122, 247)
HSLhsl(300, 90%, 73%)
HSVhsv(300, 51%, 97%)
CMYKcmyk(0%, 50.8%, 0.4%, 2.7%)
CIE-LABlab(69.89, 64.48, -41.35)
CIE-LCHlch(69.89, 76.60, 327.33°)
OKLaboklab(76.72% 0.1796 -0.1135)
OKLCHoklch(76.72% 0.212 327.7)
XYZxyz(62.4584, 40.5945, 92.5234)
Luminance0.4059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AF7 #7AF87B
analogous
#BA7AF8 #F87AF7 #F87AB8
triadic
#F87AF7 #F7F87A #7AF7F8
tetradic
#F87AF7 #F8BA7A #7AF87B #7AB8F8
square
#F87AF7 #F8BA7A #7AF87B #7AB8F8
split-complementary
#F87AF7 #B8F87A #7AF8BA
monochromatic
#EB0CE9 #F540F4 #F87AF7 #FBB4FA #FDE2FD

Accessibility & contrast

On white

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

On black

9.12
#F87AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87AF7
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87AF7#FFFFFF#000000##000000
##F87AF71.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FB
Deuteranopia (green-blind)
#95B1F3
Tritanopia (blue-blind)
#FF88AE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87af7;
/* rgb */ color: rgb(248, 122, 247);
/* oklch */ color: oklch(76.7% 0.212 327.7);
Tailwind
colors: {
  custom: {
    50: '#fda5fa',
    500: '#f87af7',
    950: '#000000',
  },
}
SCSS
$custom: #f87af7;
$custom-light: #fda5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f87af7",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 300.476,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76724,
    "c": 0.21246,
    "h": 327.7
  },
  "luminance": 0.40591
}

Semantic roles & 50–950 ramp

primary
#F87AF7
secondary
#D5F6D6
accent
#E60200
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F87AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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