#F87AF2#F87AF2

#F87AF2 is a light, highly saturated purple. Relative luminance 0.403; OKLCH L 76.5% C 0.208 H 329.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#F87AF2
RGBrgb(248, 122, 242)
HSLhsl(303, 90%, 73%)
HSVhsv(303, 51%, 97%)
CMYKcmyk(0%, 50.8%, 2.4%, 2.7%)
CIE-LABlab(69.68, 63.63, -38.94)
CIE-LCHlch(69.68, 74.60, 328.53°)
OKLaboklab(76.5% 0.1789 -0.1066)
OKLCHoklch(76.5% 0.208 329.2)
XYZxyz(61.6972, 40.2900, 88.5142)
Luminance0.4029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AF2 #7AF880
analogous
#BF7AF8 #F87AF2 #F87AB3
triadic
#F87AF2 #F2F87A #7AF2F8
tetradic
#F87AF2 #F8BF7A #7AF880 #7AB3F8
square
#F87AF2 #F8BF7A #7AF880 #7AB3F8
split-complementary
#F87AF2 #B3F87A #7AF8BF
monochromatic
#EB0CE1 #F540EC #F87AF2 #FBB4F8 #FDE2FC

Accessibility & contrast

On white

2.32
#F87AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#F87AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87AF2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87AF2#FFFFFF#000000##000000
##F87AF21.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#97B0EE
Tritanopia (blue-blind)
#FF86AB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f87af2;
/* rgb */ color: rgb(248, 122, 242);
/* oklch */ color: oklch(76.5% 0.208 329.2);
Tailwind
colors: {
  custom: {
    50: '#fda5f6',
    500: '#f87af2',
    950: '#000000',
  },
}
SCSS
$custom: #f87af2;
$custom-light: #fda5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f87af2",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 302.857,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76495,
    "c": 0.20823,
    "h": 329.2
  },
  "luminance": 0.40286
}

Semantic roles & 50–950 ramp

primary
#F87AF2
secondary
#D5F6D7
accent
#E60B00
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F87AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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