#F87FE9#F87FE9

#F87FE9 is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.8% C 0.193 H 332.1°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#F87FE9
RGBrgb(248, 127, 233)
HSLhsl(307, 90%, 74%)
HSVhsv(307, 49%, 97%)
CMYKcmyk(0%, 48.8%, 6%, 2.7%)
CIE-LABlab(70.19, 59.79, -33.19)
CIE-LCHlch(70.19, 68.39, 330.96°)
OKLaboklab(76.76% 0.1706 -0.0903)
OKLCHoklch(76.76% 0.193 332.1)
XYZxyz(61.0084, 41.0222, 81.7797)
Luminance0.4102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FE9 #7FF88E
analogous
#CA7FF8 #F87FE9 #F87FAC
triadic
#F87FE9 #E9F87F #7FE9F8
tetradic
#F87FE9 #F8CA7F #7FF88E #7FACF8
square
#F87FE9 #F8CA7F #7FF88E #7FACF8
split-complementary
#F87FE9 #ACF87F #7FF8CA
monochromatic
#F00DD3 #F545DF #F87FE9 #FBB9F3 #FDE2FA

Accessibility & contrast

On white

2.28
#F87FE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#F87FE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FE9
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FE9#FFFFFF#000000##000000
##F87FE91.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1ED
Deuteranopia (green-blind)
#9EB2E6
Tritanopia (blue-blind)
#FF87A9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87fe9;
/* rgb */ color: rgb(248, 127, 233);
/* oklch */ color: oklch(76.8% 0.193 332.1);
Tailwind
colors: {
  custom: {
    50: '#fda8f0',
    500: '#f87fe9',
    950: '#000000',
  },
}
SCSS
$custom: #f87fe9;
$custom-light: #fda8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fe9",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 233
  },
  "hsl": {
    "h": 307.438,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76755,
    "c": 0.19303,
    "h": 332.1
  },
  "luminance": 0.41018
}

Semantic roles & 50–950 ramp

primary
#F87FE9
secondary
#D6F5D9
accent
#E61C00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F87FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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