#F87CE9#F87CE9

#F87CE9 is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.4% C 0.198 H 332.1°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#F87CE9
RGBrgb(248, 124, 233)
HSLhsl(307, 90%, 73%)
HSVhsv(307, 50%, 97%)
CMYKcmyk(0%, 50%, 6%, 2.7%)
CIE-LABlab(69.65, 61.21, -34.03)
CIE-LCHlch(69.65, 70.03, 330.93°)
OKLaboklab(76.36% 0.1747 -0.0926)
OKLCHoklch(76.36% 0.198 332.1)
XYZxyz(60.6268, 40.2588, 81.6524)
Luminance0.4026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CE9 #7CF88B
analogous
#C97CF8 #F87CE9 #F87CAB
triadic
#F87CE9 #E9F87C #7CE9F8
tetradic
#F87CE9 #F8C97C #7CF88B #7CABF8
square
#F87CE9 #F8C97C #7CF88B #7CABF8
split-complementary
#F87CE9 #ABF87C #7CF8C9
monochromatic
#ED0DD2 #F542DF #F87CE9 #FBB6F3 #FDE2FA

Accessibility & contrast

On white

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

On black

9.05
#F87CE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CE9
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CE9#FFFFFF#000000##000000
##F87CE91.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#789FED
Deuteranopia (green-blind)
#9CB1E5
Tritanopia (blue-blind)
#FF85A8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f87ce9;
/* rgb */ color: rgb(248, 124, 233);
/* oklch */ color: oklch(76.4% 0.198 332.1);
Tailwind
colors: {
  custom: {
    50: '#fda6f0',
    500: '#f87ce9',
    950: '#000000',
  },
}
SCSS
$custom: #f87ce9;
$custom-light: #fda6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ce9",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 233
  },
  "hsl": {
    "h": 307.258,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76356,
    "c": 0.19773,
    "h": 332.1
  },
  "luminance": 0.40255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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