#F87EF5#F87EF5

#F87EF5 is a light, highly saturated purple. Relative luminance 0.415; OKLCH L 77.1% C 0.205 H 328.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#F87EF5
RGBrgb(248, 126, 245)
HSLhsl(301, 90%, 73%)
HSVhsv(301, 49%, 97%)
CMYKcmyk(0%, 49.2%, 1.2%, 2.7%)
CIE-LABlab(70.51, 62.27, -39.29)
CIE-LCHlch(70.51, 73.63, 327.75°)
OKLaboklab(77.15% 0.174 -0.1077)
OKLCHoklch(77.15% 0.205 328.3)
XYZxyz(62.6528, 41.4743, 91.0738)
Luminance0.4147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EF5 #7EF881
analogous
#BE7EF8 #F87EF5 #F87EB8
triadic
#F87EF5 #F5F87E #7EF5F8
tetradic
#F87EF5 #F8BE7E #7EF881 #7EB8F8
square
#F87EF5 #F8BE7E #7EF881 #7EB8F8
split-complementary
#F87EF5 #B8F87E #7EF8BE
monochromatic
#EF0DE9 #F544F1 #F87EF5 #FBB8FA #FDE2FD

Accessibility & contrast

On white

2.26
#F87EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#F87EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EF5
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EF5#FFFFFF#000000##000000
##F87EF51.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2F9
Deuteranopia (green-blind)
#98B2F1
Tritanopia (blue-blind)
#FF8AAF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87ef5;
/* rgb */ color: rgb(248, 126, 245);
/* oklch */ color: oklch(77.1% 0.205 328.3);
Tailwind
colors: {
  custom: {
    50: '#fda8f9',
    500: '#f87ef5',
    950: '#000000',
  },
}
SCSS
$custom: #f87ef5;
$custom-light: #fda8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ef5",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 301.475,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7715,
    "c": 0.20464,
    "h": 328.3
  },
  "luminance": 0.41471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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