#F87BF9#F87BF9

#F87BF9 is a light, highly saturated purple. Relative luminance 0.410; OKLCH L 76.9% C 0.213 H 327.1°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#F87BF9
RGBrgb(248, 123, 249)
HSLhsl(300, 91%, 73%)
HSVhsv(300, 51%, 98%)
CMYKcmyk(0.4%, 50.6%, 0%, 2.4%)
CIE-LABlab(70.15, 64.36, -42.03)
CIE-LCHlch(70.15, 76.87, 326.85°)
OKLaboklab(76.94% 0.1786 -0.1155)
OKLCHoklch(76.94% 0.213 327.1)
XYZxyz(62.8921, 40.9655, 94.1986)
Luminance0.4096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BF9 #7CF97B
analogous
#B97BF9 #F87BF9 #F97BBB
triadic
#F87BF9 #F9F87B #7BF9F8
tetradic
#F87BF9 #F9B97B #7CF97B #7BBBF9
square
#F87BF9 #F9B97B #7CF97B #7BBBF9
split-complementary
#F87BF9 #BBF97B #7BF9B9
monochromatic
#ED0BEF #F540F6 #F87BF9 #FBB6FC #FDE2FE

Accessibility & contrast

On white

2.28
#F87BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#F87BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BF9
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BF9#FFFFFF#000000##000000
##F87BF91.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FD
Deuteranopia (green-blind)
#95B1F5
Tritanopia (blue-blind)
#FE89AF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87bf9;
/* rgb */ color: rgb(248, 123, 249);
/* oklch */ color: oklch(76.9% 0.213 327.1);
Tailwind
colors: {
  custom: {
    50: '#fda6fb',
    500: '#f87bf9',
    950: '#000000',
  },
}
SCSS
$custom: #f87bf9;
$custom-light: #fda6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f87bf9",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 299.524,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76945,
    "c": 0.21267,
    "h": 327.1
  },
  "luminance": 0.40962
}

Semantic roles & 50–950 ramp

primary
#F87BF9
secondary
#D5F6D5
accent
#E60002
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F87BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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