#F87EE8#F87EE8

#F87EE8 is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.6% C 0.194 H 332.4°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#F87EE8
RGBrgb(248, 126, 232)
HSLhsl(308, 90%, 73%)
HSVhsv(308, 49%, 97%)
CMYKcmyk(0%, 49.2%, 6.5%, 2.7%)
CIE-LABlab(69.97, 60.10, -32.98)
CIE-LCHlch(69.97, 68.56, 331.24°)
OKLaboklab(76.58% 0.1718 -0.0897)
OKLCHoklch(76.58% 0.194 332.4)
XYZxyz(60.7375, 40.7082, 80.9866)
Luminance0.4070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EE8 #7EF88E
analogous
#CB7EF8 #F87EE8 #F87EAB
triadic
#F87EE8 #E8F87E #7EE8F8
tetradic
#F87EE8 #F8CB7E #7EF88E #7EABF8
square
#F87EE8 #F8CB7E #7EF88E #7EABF8
split-complementary
#F87EE8 #ABF87E #7EF8CB
monochromatic
#EF0DD1 #F544DE #F87EE8 #FBB8F2 #FDE2FA

Accessibility & contrast

On white

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

On black

9.14
#F87EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EE8
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EE8#FFFFFF#000000##000000
##F87EE81.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f87ee8;
/* rgb */ color: rgb(248, 126, 232);
/* oklch */ color: oklch(76.6% 0.194 332.4);
Tailwind
colors: {
  custom: {
    50: '#fda7ef',
    500: '#f87ee8',
    950: '#000000',
  },
}
SCSS
$custom: #f87ee8;
$custom-light: #fda7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ee8",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 307.869,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76578,
    "c": 0.19379,
    "h": 332.4
  },
  "luminance": 0.40704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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