#F87CE8#F87CE8

#F87CE8 is a light, vivid purple. Relative luminance 0.402; OKLCH L 76.3% C 0.197 H 332.4°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#F87CE8
RGBrgb(248, 124, 232)
HSLhsl(308, 90%, 73%)
HSVhsv(308, 50%, 97%)
CMYKcmyk(0%, 50%, 6.5%, 2.7%)
CIE-LABlab(69.61, 61.05, -33.54)
CIE-LCHlch(69.61, 69.65, 331.22°)
OKLaboklab(76.31% 0.1745 -0.0912)
OKLCHoklch(76.31% 0.197 332.4)
XYZxyz(60.4843, 40.2018, 80.9022)
Luminance0.4020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CE8 #7CF88C
analogous
#CA7CF8 #F87CE8 #F87CAA
triadic
#F87CE8 #E8F87C #7CE8F8
tetradic
#F87CE8 #F8CA7C #7CF88C #7CAAF8
square
#F87CE8 #F8CA7C #7CF88C #7CAAF8
split-complementary
#F87CE8 #AAF87C #7CF8CA
monochromatic
#ED0DD0 #F542DE #F87CE8 #FBB6F2 #FDE2FA

Accessibility & contrast

On white

2.32
#F87CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#F87CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CE8
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CE8#FFFFFF#000000##000000
##F87CE81.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#799FEC
Deuteranopia (green-blind)
#9CB0E4
Tritanopia (blue-blind)
#FF85A8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f87ce8;
/* rgb */ color: rgb(248, 124, 232);
/* oklch */ color: oklch(76.3% 0.197 332.4);
Tailwind
colors: {
  custom: {
    50: '#fda6ef',
    500: '#f87ce8',
    950: '#000000',
  },
}
SCSS
$custom: #f87ce8;
$custom-light: #fda6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ce8",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 232
  },
  "hsl": {
    "h": 307.742,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76313,
    "c": 0.19692,
    "h": 332.4
  },
  "luminance": 0.40198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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