#F87CE7#F87CE7

#F87CE7 is a light, vivid purple. Relative luminance 0.401; OKLCH L 76.3% C 0.196 H 332.7°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#F87CE7
RGBrgb(248, 124, 231)
HSLhsl(308, 90%, 73%)
HSVhsv(308, 50%, 97%)
CMYKcmyk(0%, 50%, 6.9%, 2.7%)
CIE-LABlab(69.57, 60.88, -33.05)
CIE-LCHlch(69.57, 69.28, 331.51°)
OKLaboklab(76.27% 0.1743 -0.0899)
OKLCHoklch(76.27% 0.196 332.7)
XYZxyz(60.3427, 40.1452, 80.1563)
Luminance0.4014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CE7 #7CF88D
analogous
#CB7CF8 #F87CE7 #F87CA9
triadic
#F87CE7 #E7F87C #7CE7F8
tetradic
#F87CE7 #F8CB7C #7CF88D #7CA9F8
square
#F87CE7 #F8CB7C #7CF88D #7CA9F8
split-complementary
#F87CE7 #A9F87C #7CF8CB
monochromatic
#ED0DCE #F542DC #F87CE7 #FBB6F2 #FDE2FA

Accessibility & contrast

On white

2.33
#F87CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#F87CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CE7
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CE7#FFFFFF#000000##000000
##F87CE71.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#799FEB
Deuteranopia (green-blind)
#9DB0E3
Tritanopia (blue-blind)
#FF84A7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f87ce7;
/* rgb */ color: rgb(248, 124, 231);
/* oklch */ color: oklch(76.3% 0.196 332.7);
Tailwind
colors: {
  custom: {
    50: '#fda6ef',
    500: '#f87ce7',
    950: '#000000',
  },
}
SCSS
$custom: #f87ce7;
$custom-light: #fda6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ce7",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 308.226,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7627,
    "c": 0.19611,
    "h": 332.7
  },
  "luminance": 0.40141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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