#F87AF5#F87AF5

#F87AF5 is a light, highly saturated purple. Relative luminance 0.405; OKLCH L 76.6% C 0.211 H 328.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#F87AF5
RGBrgb(248, 122, 245)
HSLhsl(301, 90%, 73%)
HSVhsv(301, 51%, 97%)
CMYKcmyk(0%, 50.8%, 1.2%, 2.7%)
CIE-LABlab(69.80, 64.14, -40.39)
CIE-LCHlch(69.80, 75.80, 327.80°)
OKLaboklab(76.63% 0.1793 -0.1108)
OKLCHoklch(76.63% 0.211 328.3)
XYZxyz(62.1515, 40.4717, 90.9067)
Luminance0.4047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AF5 #7AF87D
analogous
#BC7AF8 #F87AF5 #F87AB6
triadic
#F87AF5 #F5F87A #7AF5F8
tetradic
#F87AF5 #F8BC7A #7AF87D #7AB6F8
square
#F87AF5 #F8BC7A #7AF87D #7AB6F8
split-complementary
#F87AF5 #B6F87A #7AF8BC
monochromatic
#EB0CE6 #F540F1 #F87AF5 #FBB4F9 #FDE2FD

Accessibility & contrast

On white

2.31
#F87AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#F87AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87AF5
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87AF5#FFFFFF#000000##000000
##F87AF51.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A0F9
Deuteranopia (green-blind)
#96B1F1
Tritanopia (blue-blind)
#FF87AD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87af5;
/* rgb */ color: rgb(248, 122, 245);
/* oklch */ color: oklch(76.6% 0.211 328.3);
Tailwind
colors: {
  custom: {
    50: '#fda5f9',
    500: '#f87af5',
    950: '#000000',
  },
}
SCSS
$custom: #f87af5;
$custom-light: #fda5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f87af5",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 301.429,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76632,
    "c": 0.21076,
    "h": 328.3
  },
  "luminance": 0.40468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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