#F87DE7#F87DE7

#F87DE7 is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.4% C 0.195 H 332.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#F87DE7
RGBrgb(248, 125, 231)
HSLhsl(308, 90%, 73%)
HSVhsv(308, 50%, 97%)
CMYKcmyk(0%, 49.6%, 6.9%, 2.7%)
CIE-LABlab(69.75, 60.41, -32.77)
CIE-LCHlch(69.75, 68.73, 331.52°)
OKLaboklab(76.4% 0.173 -0.0891)
OKLCHoklch(76.4% 0.195 332.7)
XYZxyz(60.4686, 40.3971, 80.1983)
Luminance0.4039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87DE7 #7DF88E
analogous
#CC7DF8 #F87DE7 #F87DA9
triadic
#F87DE7 #E7F87D #7DE7F8
tetradic
#F87DE7 #F8CC7D #7DF88E #7DA9F8
square
#F87DE7 #F8CC7D #7DF88E #7DA9F8
split-complementary
#F87DE7 #A9F87D #7DF8CC
monochromatic
#EE0DCF #F543DC #F87DE7 #FBB7F2 #FDE2FA

Accessibility & contrast

On white

2.31
#F87DE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#F87DE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87DE7
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87DE7#FFFFFF#000000##000000
##F87DE71.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9FEB
Deuteranopia (green-blind)
#9DB1E3
Tritanopia (blue-blind)
#FF85A8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f87de7;
/* rgb */ color: rgb(248, 125, 231);
/* oklch */ color: oklch(76.4% 0.195 332.7);
Tailwind
colors: {
  custom: {
    50: '#fda7ef',
    500: '#f87de7',
    950: '#000000',
  },
}
SCSS
$custom: #f87de7;
$custom-light: #fda7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f87de7",
  "rgb": {
    "r": 248,
    "g": 125,
    "b": 231
  },
  "hsl": {
    "h": 308.293,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76402,
    "c": 0.19455,
    "h": 332.7
  },
  "luminance": 0.40393
}

Semantic roles & 50–950 ramp

primary
#F87DE7
secondary
#D5F6DA
accent
#E62000
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F87DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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