#F87EF2#F87EF2

#F87EF2 is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.0% C 0.202 H 329.2°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#F87EF2
RGBrgb(248, 126, 242)
HSLhsl(303, 90%, 73%)
HSVhsv(303, 49%, 97%)
CMYKcmyk(0%, 49.2%, 2.4%, 2.7%)
CIE-LABlab(70.38, 61.76, -37.84)
CIE-LCHlch(70.38, 72.44, 328.50°)
OKLaboklab(77.02% 0.1735 -0.1035)
OKLCHoklch(77.02% 0.202 329.2)
XYZxyz(62.1985, 41.2926, 88.6813)
Luminance0.4129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EF2 #7EF884
analogous
#C17EF8 #F87EF2 #F87EB5
triadic
#F87EF2 #F2F87E #7EF2F8
tetradic
#F87EF2 #F8C17E #7EF884 #7EB5F8
square
#F87EF2 #F8C17E #7EF884 #7EB5F8
split-complementary
#F87EF2 #B5F87E #7EF8C1
monochromatic
#EF0DE4 #F544EC #F87EF2 #FBB8F8 #FDE2FC

Accessibility & contrast

On white

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

On black

9.26
#F87EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EF2
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EF2#FFFFFF#000000##000000
##F87EF21.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#9AB2EE
Tritanopia (blue-blind)
#FF89AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87ef2;
/* rgb */ color: rgb(248, 126, 242);
/* oklch */ color: oklch(77.0% 0.202 329.2);
Tailwind
colors: {
  custom: {
    50: '#fda8f6',
    500: '#f87ef2',
    950: '#000000',
  },
}
SCSS
$custom: #f87ef2;
$custom-light: #fda8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ef2",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 302.951,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77016,
    "c": 0.20208,
    "h": 329.2
  },
  "luminance": 0.41289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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