#F87EE7#F87EE7

#F87EE7 is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.5% C 0.193 H 332.8°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#F87EE7
RGBrgb(248, 126, 231)
HSLhsl(308, 90%, 73%)
HSVhsv(308, 49%, 97%)
CMYKcmyk(0%, 49.2%, 6.9%, 2.7%)
CIE-LABlab(69.93, 59.94, -32.49)
CIE-LCHlch(69.93, 68.18, 331.54°)
OKLaboklab(76.54% 0.1716 -0.0883)
OKLCHoklch(76.54% 0.193 332.8)
XYZxyz(60.5959, 40.6515, 80.2407)
Luminance0.4065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EE7 #7EF88F
analogous
#CC7EF8 #F87EE7 #F87EAA
triadic
#F87EE7 #E7F87E #7EE7F8
tetradic
#F87EE7 #F8CC7E #7EF88F #7EAAF8
square
#F87EE7 #F8CC7E #7EF88F #7EAAF8
split-complementary
#F87EE7 #AAF87E #7EF8CC
monochromatic
#EF0DCF #F544DC #F87EE7 #FBB8F2 #FDE2FA

Accessibility & contrast

On white

2.30
#F87EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#F87EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EE7
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EE7#FFFFFF#000000##000000
##F87EE71.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA0EB
Deuteranopia (green-blind)
#9EB1E4
Tritanopia (blue-blind)
#FF86A8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87ee7;
/* rgb */ color: rgb(248, 126, 231);
/* oklch */ color: oklch(76.5% 0.193 332.8);
Tailwind
colors: {
  custom: {
    50: '#fda7ef',
    500: '#f87ee7',
    950: '#000000',
  },
}
SCSS
$custom: #f87ee7;
$custom-light: #fda7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ee7",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 308.361,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76535,
    "c": 0.19298,
    "h": 332.8
  },
  "luminance": 0.40648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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