#F87EE4#F87EE4

#F87EE4 is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.4% C 0.191 H 333.8°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#F87EE4
RGBrgb(248, 126, 228)
HSLhsl(310, 90%, 73%)
HSVhsv(310, 49%, 97%)
CMYKcmyk(0%, 49.2%, 8.1%, 2.7%)
CIE-LABlab(69.81, 59.45, -31.02)
CIE-LCHlch(69.81, 67.06, 332.44°)
OKLaboklab(76.41% 0.171 -0.0841)
OKLCHoklch(76.41% 0.191 333.8)
XYZxyz(60.1758, 40.4835, 78.0283)
Luminance0.4048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EE4 #7EF892
analogous
#CF7EF8 #F87EE4 #F87EA7
triadic
#F87EE4 #E4F87E #7EE4F8
tetradic
#F87EE4 #F8CF7E #7EF892 #7EA7F8
square
#F87EE4 #F8CF7E #7EF892 #7EA7F8
split-complementary
#F87EE4 #A7F87E #7EF8CF
monochromatic
#EF0DCA #F544D8 #F87EE4 #FBB8F0 #FDE2F9

Accessibility & contrast

On white

2.31
#F87EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#F87EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EE4
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EE4#FFFFFF#000000##000000
##F87EE41.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9FE7
Deuteranopia (green-blind)
#9FB1E1
Tritanopia (blue-blind)
#FF85A7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87ee4;
/* rgb */ color: rgb(248, 126, 228);
/* oklch */ color: oklch(76.4% 0.191 333.8);
Tailwind
colors: {
  custom: {
    50: '#fda7ec',
    500: '#f87ee4',
    950: '#000000',
  },
}
SCSS
$custom: #f87ee4;
$custom-light: #fda7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ee4",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 309.836,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76408,
    "c": 0.19058,
    "h": 333.8
  },
  "luminance": 0.4048
}

Semantic roles & 50–950 ramp

primary
#F87EE4
secondary
#D5F6DB
accent
#E62600
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F87EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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