#F87CFA#F87CFA

#F87CFA is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.1% C 0.212 H 326.8°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#F87CFA
RGBrgb(248, 124, 250)
HSLhsl(299, 93%, 73%)
HSVhsv(299, 50%, 98%)
CMYKcmyk(0.8%, 50.4%, 0%, 2%)
CIE-LABlab(70.37, 64.07, -42.24)
CIE-LCHlch(70.37, 76.74, 326.60°)
OKLaboklab(77.12% 0.1774 -0.1161)
OKLCHoklch(77.12% 0.212 326.8)
XYZxyz(63.1732, 41.2774, 95.0638)
Luminance0.4127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CFA #7EFA7C
analogous
#B97CFA #F87CFA #FA7CBD
triadic
#F87CFA #FAF87C #7CFAF8
tetradic
#F87CFA #FAB97C #7EFA7C #7CBDFA
square
#F87CFA #FAB97C #7EFA7C #7CBDFA
split-complementary
#F87CFA #BDFA7C #7CFAB9
monochromatic
#EF09F2 #F541F8 #F87CFA #FBB7FC #FDE2FE

Accessibility & contrast

On white

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

On black

9.25
#F87CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CFA
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CFA#FFFFFF#000000##000000
##F87CFA1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#95B2F6
Tritanopia (blue-blind)
#FE8AB0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87cfa;
/* rgb */ color: rgb(248, 124, 250);
/* oklch */ color: oklch(77.1% 0.212 326.8);
Tailwind
colors: {
  custom: {
    50: '#fda6fc',
    500: '#f87cfa',
    950: '#000000',
  },
}
SCSS
$custom: #f87cfa;
$custom-light: #fda6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f87cfa",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 299.048,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7712,
    "c": 0.21201,
    "h": 326.8
  },
  "luminance": 0.41274
}

Semantic roles & 50–950 ramp

primary
#F87CFA
secondary
#D5F6D5
accent
#E60004
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F87CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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