#F87FF2#F87FF2

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

Color values

HEX#F87FF2
RGBrgb(248, 127, 242)
HSLhsl(303, 90%, 74%)
HSVhsv(303, 49%, 97%)
CMYKcmyk(0%, 48.8%, 2.4%, 2.7%)
CIE-LABlab(70.56, 61.29, -37.57)
CIE-LCHlch(70.56, 71.89, 328.50°)
OKLaboklab(77.15% 0.1722 -0.1027)
OKLCHoklch(77.15% 0.201 329.2)
XYZxyz(62.3270, 41.5496, 88.7242)
Luminance0.4155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FF2 #7FF885
analogous
#C17FF8 #F87FF2 #F87FB5
triadic
#F87FF2 #F2F87F #7FF2F8
tetradic
#F87FF2 #F8C17F #7FF885 #7FB5F8
square
#F87FF2 #F8C17F #7FF885 #7FB5F8
split-complementary
#F87FF2 #B5F87F #7FF8C1
monochromatic
#F00DE4 #F545EC #F87FF2 #FBB9F8 #FDE2FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F87FF2#FFFFFF#000000##000000
##F87FF21.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)
#77A2F6
Deuteranopia (green-blind)
#9AB2EE
Tritanopia (blue-blind)
#FF8AAE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f87ff2;
/* rgb */ color: rgb(248, 127, 242);
/* oklch */ color: oklch(77.1% 0.201 329.2);
Tailwind
colors: {
  custom: {
    50: '#fda8f6',
    500: '#f87ff2',
    950: '#000000',
  },
}
SCSS
$custom: #f87ff2;
$custom-light: #fda8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ff2",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 302.975,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77148,
    "c": 0.20053,
    "h": 329.2
  },
  "luminance": 0.41546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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