#F87AE5#F87AE5

#F87AE5 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.9% C 0.198 H 333.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#F87AE5
RGBrgb(248, 122, 229)
HSLhsl(309, 90%, 73%)
HSVhsv(309, 51%, 97%)
CMYKcmyk(0%, 50.8%, 7.7%, 2.7%)
CIE-LABlab(69.14, 61.50, -32.62)
CIE-LCHlch(69.14, 69.61, 332.06°)
OKLaboklab(75.92% 0.1767 -0.0886)
OKLCHoklch(75.92% 0.198 333.4)
XYZxyz(59.8137, 39.5366, 78.5945)
Luminance0.3953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AE5 #7AF88D
analogous
#CC7AF8 #F87AE5 #F87AA6
triadic
#F87AE5 #E5F87A #7AE5F8
tetradic
#F87AE5 #F8CC7A #7AF88D #7AA6F8
square
#F87AE5 #F8CC7A #7AF88D #7AA6F8
split-complementary
#F87AE5 #A6F87A #7AF8CC
monochromatic
#EB0CCA #F540DA #F87AE5 #FBB4F0 #FDE2F9

Accessibility & contrast

On white

2.36
#F87AE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#F87AE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87AE5
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87AE5#FFFFFF#000000##000000
##F87AE51.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#789DE9
Deuteranopia (green-blind)
#9CAFE1
Tritanopia (blue-blind)
#FF82A5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f87ae5;
/* rgb */ color: rgb(248, 122, 229);
/* oklch */ color: oklch(75.9% 0.198 333.4);
Tailwind
colors: {
  custom: {
    50: '#fda5ed',
    500: '#f87ae5',
    950: '#000000',
  },
}
SCSS
$custom: #f87ae5;
$custom-light: #fda5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ae5",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 309.048,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75921,
    "c": 0.19763,
    "h": 333.4
  },
  "luminance": 0.39533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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