#F87FE4#F87FE4

#F87FE4 is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.5% C 0.189 H 333.8°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#F87FE4
RGBrgb(248, 127, 228)
HSLhsl(310, 90%, 74%)
HSVhsv(310, 49%, 97%)
CMYKcmyk(0%, 48.8%, 8.1%, 2.7%)
CIE-LABlab(69.99, 58.98, -30.74)
CIE-LCHlch(69.99, 66.51, 332.47°)
OKLaboklab(76.54% 0.1696 -0.0834)
OKLCHoklch(76.54% 0.189 333.8)
XYZxyz(60.3043, 40.7405, 78.0712)
Luminance0.4074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FE4 #7FF893
analogous
#CF7FF8 #F87FE4 #F87FA7
triadic
#F87FE4 #E4F87F #7FE4F8
tetradic
#F87FE4 #F8CF7F #7FF893 #7FA7F8
square
#F87FE4 #F8CF7F #7FF893 #7FA7F8
split-complementary
#F87FE4 #A7F87F #7FF8CF
monochromatic
#F00DCA #F545D8 #F87FE4 #FBB9F0 #FDE2F9

Accessibility & contrast

On white

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

On black

9.15
#F87FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FE4
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FE4#FFFFFF#000000##000000
##F87FE41.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA0E7
Deuteranopia (green-blind)
#A0B1E1
Tritanopia (blue-blind)
#FF86A7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87fe4;
/* rgb */ color: rgb(248, 127, 228);
/* oklch */ color: oklch(76.5% 0.189 333.8);
Tailwind
colors: {
  custom: {
    50: '#fda8ec',
    500: '#f87fe4',
    950: '#000000',
  },
}
SCSS
$custom: #f87fe4;
$custom-light: #fda8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fe4",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 309.917,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76543,
    "c": 0.18901,
    "h": 333.8
  },
  "luminance": 0.40737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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