#F87CEA#F87CEA

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

Color values

HEX#F87CEA
RGBrgb(248, 124, 234)
HSLhsl(307, 90%, 73%)
HSVhsv(307, 50%, 97%)
CMYKcmyk(0%, 50%, 5.6%, 2.7%)
CIE-LABlab(69.69, 61.37, -34.51)
CIE-LCHlch(69.69, 70.41, 330.65°)
OKLaboklab(76.4% 0.1749 -0.094)
OKLCHoklch(76.4% 0.199 331.7)
XYZxyz(60.7700, 40.3161, 82.4069)
Luminance0.4031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CEA #7CF88A
analogous
#C87CF8 #F87CEA #F87CAC
triadic
#F87CEA #EAF87C #7CEAF8
tetradic
#F87CEA #F8C87C #7CF88A #7CACF8
square
#F87CEA #F8C87C #7CF88A #7CACF8
split-complementary
#F87CEA #ACF87C #7CF8C8
monochromatic
#ED0DD4 #F542E1 #F87CEA #FBB6F3 #FDE2FA

Accessibility & contrast

On white

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

On black

9.06
#F87CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CEA
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CEA#FFFFFF#000000##000000
##F87CEA1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f87cea;
/* rgb */ color: rgb(248, 124, 234);
/* oklch */ color: oklch(76.4% 0.199 331.7);
Tailwind
colors: {
  custom: {
    50: '#fda6f1',
    500: '#f87cea',
    950: '#000000',
  },
}
SCSS
$custom: #f87cea;
$custom-light: #fda6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f87cea",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 234
  },
  "hsl": {
    "h": 306.774,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76399,
    "c": 0.19854,
    "h": 331.7
  },
  "luminance": 0.40312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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