#F87CFE#F87CFE

#F87CFE is a light, highly saturated purple. Relative luminance 0.415; OKLCH L 77.3% C 0.215 H 325.6°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#F87CFE
RGBrgb(248, 124, 254)
HSLhsl(297, 98%, 74%)
HSVhsv(297, 51%, 100%)
CMYKcmyk(2.4%, 51.2%, 0%, 0.4%)
CIE-LABlab(70.55, 64.76, -44.15)
CIE-LCHlch(70.55, 78.38, 325.72°)
OKLaboklab(77.31% 0.1779 -0.1216)
OKLCHoklch(77.31% 0.216 325.6)
XYZxyz(63.8071, 41.5309, 98.4021)
Luminance0.4153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CFE #82FE7C
analogous
#B77CFE #F87CFE #FE7CC3
triadic
#F87CFE #FEF87C #7CFEF8
tetradic
#F87CFE #FEB77C #82FE7C #7CC3FE
square
#F87CFE #FEB77C #82FE7C #7CC3FE
split-complementary
#F87CFE #C3FE7C #7CFEB7
monochromatic
#F203FD #F53FFE #F87CFE #FBB9FE #FDE1FF

Accessibility & contrast

On white

2.26
#F87CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#F87CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CFE
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CFE#FFFFFF#000000##000000
##F87CFE1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#93B2FA
Tritanopia (blue-blind)
#FD8CB2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f87cfe;
/* rgb */ color: rgb(248, 124, 254);
/* oklch */ color: oklch(77.3% 0.215 325.6);
Tailwind
colors: {
  custom: {
    50: '#fda7ff',
    500: '#f87cfe',
    950: '#000000',
  },
}
SCSS
$custom: #f87cfe;
$custom-light: #fda7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f87cfe",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 297.231,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77307,
    "c": 0.2155,
    "h": 325.6
  },
  "luminance": 0.41528
}

Semantic roles & 50–950 ramp

primary
#F87CFE
secondary
#D6F7D4
accent
#E6000B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F87CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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