#F87CFB#F87CFB

#F87CFB is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.2% C 0.213 H 326.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#F87CFB
RGBrgb(248, 124, 251)
HSLhsl(299, 94%, 74%)
HSVhsv(299, 51%, 98%)
CMYKcmyk(1.2%, 50.6%, 0%, 1.6%)
CIE-LABlab(70.41, 64.24, -42.72)
CIE-LCHlch(70.41, 77.15, 326.38°)
OKLaboklab(77.17% 0.1775 -0.1175)
OKLCHoklch(77.17% 0.213 326.5)
XYZxyz(63.3304, 41.3403, 95.8918)
Luminance0.4134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CFB #7FFB7C
analogous
#B87CFB #F87CFB #FB7CBE
triadic
#F87CFB #FBF87C #7CFBF8
tetradic
#F87CFB #FBB87C #7FFB7C #7CBEFB
square
#F87CFB #FBB87C #7FFB7C #7CBEFB
split-complementary
#F87CFB #BEFB7C #7CFBB8
monochromatic
#F007F5 #F541F9 #F87CFB #FBB7FD #FDE1FE

Accessibility & contrast

On white

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

On black

9.27
#F87CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CFB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CFB#FFFFFF#000000##000000
##F87CFB1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#95B2F7
Tritanopia (blue-blind)
#FE8BB1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87cfb;
/* rgb */ color: rgb(248, 124, 251);
/* oklch */ color: oklch(77.2% 0.213 326.5);
Tailwind
colors: {
  custom: {
    50: '#fda7fd',
    500: '#f87cfb',
    950: '#000000',
  },
}
SCSS
$custom: #f87cfb;
$custom-light: #fda7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f87cfb",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 298.583,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77166,
    "c": 0.21288,
    "h": 326.5
  },
  "luminance": 0.41337
}

Semantic roles & 50–950 ramp

primary
#F87CFB
secondary
#D6F6D5
accent
#E60005
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F87CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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