#F87CF2#F87CF2

#F87CF2 is a light, highly saturated purple. Relative luminance 0.408; OKLCH L 76.8% C 0.205 H 329.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#F87CF2
RGBrgb(248, 124, 242)
HSLhsl(303, 90%, 73%)
HSVhsv(303, 50%, 97%)
CMYKcmyk(0%, 50%, 2.4%, 2.7%)
CIE-LABlab(70.03, 62.70, -38.40)
CIE-LCHlch(70.03, 73.53, 328.52°)
OKLaboklab(76.75% 0.1762 -0.1051)
OKLCHoklch(76.75% 0.205 329.2)
XYZxyz(61.9453, 40.7862, 88.5969)
Luminance0.4078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CF2 #7CF882
analogous
#C07CF8 #F87CF2 #F87CB4
triadic
#F87CF2 #F2F87C #7CF2F8
tetradic
#F87CF2 #F8C07C #7CF882 #7CB4F8
square
#F87CF2 #F8C07C #7CF882 #7CB4F8
split-complementary
#F87CF2 #B4F87C #7CF8C0
monochromatic
#ED0DE2 #F542EC #F87CF2 #FBB6F8 #FDE2FC

Accessibility & contrast

On white

2.29
#F87CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#F87CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CF2
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CF2#FFFFFF#000000##000000
##F87CF21.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#98B1EE
Tritanopia (blue-blind)
#FF88AC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87cf2;
/* rgb */ color: rgb(248, 124, 242);
/* oklch */ color: oklch(76.8% 0.205 329.2);
Tailwind
colors: {
  custom: {
    50: '#fda6f6',
    500: '#f87cf2',
    950: '#000000',
  },
}
SCSS
$custom: #f87cf2;
$custom-light: #fda6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f87cf2",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 302.903,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76753,
    "c": 0.20517,
    "h": 329.2
  },
  "luminance": 0.40783
}

Semantic roles & 50–950 ramp

primary
#F87CF2
secondary
#D5F6D7
accent
#E60B00
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F87CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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