#F87EF1#F87EF1

#F87EF1 is a light, highly saturated purple. Relative luminance 0.412; OKLCH L 77.0% C 0.201 H 329.5°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#F87EF1
RGBrgb(248, 126, 241)
HSLhsl(303, 90%, 73%)
HSVhsv(303, 49%, 97%)
CMYKcmyk(0%, 49.2%, 2.8%, 2.7%)
CIE-LABlab(70.34, 61.60, -37.36)
CIE-LCHlch(70.34, 72.04, 328.76°)
OKLaboklab(76.97% 0.1734 -0.1022)
OKLCHoklch(76.97% 0.201 329.5)
XYZxyz(62.0487, 41.2327, 87.8925)
Luminance0.4123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EF1 #7EF885
analogous
#C27EF8 #F87EF1 #F87EB4
triadic
#F87EF1 #F1F87E #7EF1F8
tetradic
#F87EF1 #F8C27E #7EF885 #7EB4F8
square
#F87EF1 #F8C27E #7EF885 #7EB4F8
split-complementary
#F87EF1 #B4F87E #7EF8C2
monochromatic
#EF0DE2 #F544EB #F87EF1 #FBB8F7 #FDE2FC

Accessibility & contrast

On white

2.27
#F87EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#F87EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EF1
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EF1#FFFFFF#000000##000000
##F87EF11.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A1F5
Deuteranopia (green-blind)
#9AB2ED
Tritanopia (blue-blind)
#FF89AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87ef1;
/* rgb */ color: rgb(248, 126, 241);
/* oklch */ color: oklch(77.0% 0.201 329.5);
Tailwind
colors: {
  custom: {
    50: '#fda8f6',
    500: '#f87ef1',
    950: '#000000',
  },
}
SCSS
$custom: #f87ef1;
$custom-light: #fda8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ef1",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 241
  },
  "hsl": {
    "h": 303.443,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76971,
    "c": 0.20124,
    "h": 329.5
  },
  "luminance": 0.41229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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