#F87FEC#F87FEC

#F87FEC is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.9% C 0.196 H 331.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#F87FEC
RGBrgb(248, 127, 236)
HSLhsl(306, 90%, 74%)
HSVhsv(306, 49%, 97%)
CMYKcmyk(0%, 48.8%, 4.8%, 2.7%)
CIE-LABlab(70.31, 60.29, -34.66)
CIE-LCHlch(70.31, 69.54, 330.11°)
OKLaboklab(76.88% 0.1712 -0.0945)
OKLCHoklch(76.88% 0.196 331.1)
XYZxyz(61.4406, 41.1951, 84.0559)
Luminance0.4119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FEC #7FF88B
analogous
#C77FF8 #F87FEC #F87FAF
triadic
#F87FEC #ECF87F #7FECF8
tetradic
#F87FEC #F8C77F #7FF88B #7FAFF8
square
#F87FEC #F8C77F #7FF88B #7FAFF8
split-complementary
#F87FEC #AFF87F #7FF8C7
monochromatic
#F00DD9 #F545E3 #F87FEC #FBB9F5 #FDE2FB

Accessibility & contrast

On white

2.27
#F87FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#F87FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FEC
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FEC#FFFFFF#000000##000000
##F87FEC1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1F0
Deuteranopia (green-blind)
#9DB2E8
Tritanopia (blue-blind)
#FF88AB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87fec;
/* rgb */ color: rgb(248, 127, 236);
/* oklch */ color: oklch(76.9% 0.196 331.1);
Tailwind
colors: {
  custom: {
    50: '#fda8f2',
    500: '#f87fec',
    950: '#000000',
  },
}
SCSS
$custom: #f87fec;
$custom-light: #fda8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fec",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 305.95,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76884,
    "c": 0.1955,
    "h": 331.1
  },
  "luminance": 0.41191
}

Semantic roles & 50–950 ramp

primary
#F87FEC
secondary
#D6F5D9
accent
#E61700
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F87FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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