#F87BE7#F87BE7

#F87BE7 is a light, vivid purple. Relative luminance 0.399; OKLCH L 76.1% C 0.198 H 332.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#F87BE7
RGBrgb(248, 123, 231)
HSLhsl(308, 90%, 73%)
HSVhsv(308, 50%, 97%)
CMYKcmyk(0%, 50.4%, 6.9%, 2.7%)
CIE-LABlab(69.40, 61.35, -33.32)
CIE-LCHlch(69.40, 69.82, 331.49°)
OKLaboklab(76.14% 0.1757 -0.0906)
OKLCHoklch(76.14% 0.198 332.7)
XYZxyz(60.2180, 39.8958, 80.1147)
Luminance0.3989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BE7 #7BF88C
analogous
#CA7BF8 #F87BE7 #F87BA8
triadic
#F87BE7 #E7F87B #7BE7F8
tetradic
#F87BE7 #F8CA7B #7BF88C #7BA8F8
square
#F87BE7 #F8CA7B #7BF88C #7BA8F8
split-complementary
#F87BE7 #A8F87B #7BF8CA
monochromatic
#EC0DCE #F541DC #F87BE7 #FBB5F2 #FDE2FA

Accessibility & contrast

On white

2.34
#F87BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#F87BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BE7
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BE7#FFFFFF#000000##000000
##F87BE71.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#789EEB
Deuteranopia (green-blind)
#9CB0E3
Tritanopia (blue-blind)
#FF83A7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f87be7;
/* rgb */ color: rgb(248, 123, 231);
/* oklch */ color: oklch(76.1% 0.198 332.7);
Tailwind
colors: {
  custom: {
    50: '#fda6ef',
    500: '#f87be7',
    950: '#000000',
  },
}
SCSS
$custom: #f87be7;
$custom-light: #fda6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f87be7",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 308.16,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76138,
    "c": 0.19768,
    "h": 332.7
  },
  "luminance": 0.39892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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