#F87BEC#F87BEC

#F87BEC is a light, highly saturated purple. Relative luminance 0.402; OKLCH L 76.4% C 0.202 H 331.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#F87BEC
RGBrgb(248, 123, 236)
HSLhsl(306, 90%, 73%)
HSVhsv(306, 50%, 97%)
CMYKcmyk(0%, 50.4%, 4.8%, 2.7%)
CIE-LABlab(69.60, 62.17, -35.76)
CIE-LCHlch(69.60, 71.72, 330.09°)
OKLaboklab(76.36% 0.1766 -0.0976)
OKLCHoklch(76.36% 0.202 331.1)
XYZxyz(60.9343, 40.1823, 83.8871)
Luminance0.4018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BEC #7BF887
analogous
#C57BF8 #F87BEC #F87BAD
triadic
#F87BEC #ECF87B #7BECF8
tetradic
#F87BEC #F8C57B #7BF887 #7BADF8
square
#F87BEC #F8C57B #7BF887 #7BADF8
split-complementary
#F87BEC #ADF87B #7BF8C5
monochromatic
#EC0DD7 #F541E4 #F87BEC #FBB5F4 #FDE2FB

Accessibility & contrast

On white

2.32
#F87BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#F87BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BEC
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BEC#FFFFFF#000000##000000
##F87BEC1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FF0
Deuteranopia (green-blind)
#9AB0E8
Tritanopia (blue-blind)
#FF85A9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f87bec;
/* rgb */ color: rgb(248, 123, 236);
/* oklch */ color: oklch(76.4% 0.202 331.1);
Tailwind
colors: {
  custom: {
    50: '#fda6f2',
    500: '#f87bec',
    950: '#000000',
  },
}
SCSS
$custom: #f87bec;
$custom-light: #fda6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f87bec",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 305.76,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76356,
    "c": 0.20172,
    "h": 331.1
  },
  "luminance": 0.40179
}

Semantic roles & 50–950 ramp

primary
#F87BEC
secondary
#D5F6D9
accent
#E61600
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F87BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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