#F87EE5#F87EE5

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

Color values

HEX#F87EE5
RGBrgb(248, 126, 229)
HSLhsl(309, 90%, 73%)
HSVhsv(309, 49%, 97%)
CMYKcmyk(0%, 49.2%, 7.7%, 2.7%)
CIE-LABlab(69.85, 59.62, -31.51)
CIE-LCHlch(69.85, 67.43, 332.14°)
OKLaboklab(76.45% 0.1712 -0.0855)
OKLCHoklch(76.45% 0.191 333.5)
XYZxyz(60.3150, 40.5392, 78.7615)
Luminance0.4053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EE5 #7EF891
analogous
#CE7EF8 #F87EE5 #F87EA8
triadic
#F87EE5 #E5F87E #7EE5F8
tetradic
#F87EE5 #F8CE7E #7EF891 #7EA8F8
square
#F87EE5 #F8CE7E #7EF891 #7EA8F8
split-complementary
#F87EE5 #A8F87E #7EF8CE
monochromatic
#EF0DCB #F544D9 #F87EE5 #FBB8F1 #FDE2F9

Accessibility & contrast

On white

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

On black

9.11
#F87EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EE5
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EE5#FFFFFF#000000##000000
##F87EE51.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f87ee5;
/* rgb */ color: rgb(248, 126, 229);
/* oklch */ color: oklch(76.4% 0.191 333.5);
Tailwind
colors: {
  custom: {
    50: '#fda7ed',
    500: '#f87ee5',
    950: '#000000',
  },
}
SCSS
$custom: #f87ee5;
$custom-light: #fda7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ee5",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 309.344,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7645,
    "c": 0.19138,
    "h": 333.5
  },
  "luminance": 0.40535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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