#F87AE7#F87AE7

#F87AE7 is a light, vivid purple. Relative luminance 0.396; OKLCH L 76.0% C 0.199 H 332.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#F87AE7
RGBrgb(248, 122, 231)
HSLhsl(308, 90%, 73%)
HSVhsv(308, 51%, 97%)
CMYKcmyk(0%, 50.8%, 6.9%, 2.7%)
CIE-LABlab(69.22, 61.82, -33.60)
CIE-LCHlch(69.22, 70.36, 331.48°)
OKLaboklab(76.01% 0.177 -0.0914)
OKLCHoklch(76.01% 0.199 332.7)
XYZxyz(60.0946, 39.6490, 80.0736)
Luminance0.3965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AE7 #7AF88B
analogous
#CA7AF8 #F87AE7 #F87AA8
triadic
#F87AE7 #E7F87A #7AE7F8
tetradic
#F87AE7 #F8CA7A #7AF88B #7AA8F8
square
#F87AE7 #F8CA7A #7AF88B #7AA8F8
split-complementary
#F87AE7 #A8F87A #7AF8CA
monochromatic
#EB0CCD #F540DD #F87AE7 #FBB4F1 #FDE2FA

Accessibility & contrast

On white

2.35
#F87AE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#F87AE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87AE7
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87AE7#FFFFFF#000000##000000
##F87AE71.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#779EEB
Deuteranopia (green-blind)
#9CB0E3
Tritanopia (blue-blind)
#FF83A6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f87ae7;
/* rgb */ color: rgb(248, 122, 231);
/* oklch */ color: oklch(76.0% 0.199 332.7);
Tailwind
colors: {
  custom: {
    50: '#fda5ef',
    500: '#f87ae7',
    950: '#000000',
  },
}
SCSS
$custom: #f87ae7;
$custom-light: #fda5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ae7",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 308.095,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76007,
    "c": 0.19922,
    "h": 332.7
  },
  "luminance": 0.39645
}

Semantic roles & 50–950 ramp

primary
#F87AE7
secondary
#D5F6DA
accent
#E61F00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F87AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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