#F87BF5#F87BF5

#F87BF5 is a light, highly saturated purple. Relative luminance 0.407; OKLCH L 76.8% C 0.209 H 328.3°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#F87BF5
RGBrgb(248, 123, 245)
HSLhsl(301, 90%, 73%)
HSVhsv(301, 50%, 97%)
CMYKcmyk(0%, 50.4%, 1.2%, 2.7%)
CIE-LABlab(69.98, 63.68, -40.12)
CIE-LCHlch(69.98, 75.26, 327.79°)
OKLaboklab(76.76% 0.178 -0.11)
OKLCHoklch(76.76% 0.209 328.3)
XYZxyz(62.2749, 40.7186, 90.9478)
Luminance0.4072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BF5 #7BF87E
analogous
#BC7BF8 #F87BF5 #F87BB6
triadic
#F87BF5 #F5F87B #7BF5F8
tetradic
#F87BF5 #F8BC7B #7BF87E #7BB6F8
square
#F87BF5 #F8BC7B #7BF87E #7BB6F8
split-complementary
#F87BF5 #B6F87B #7BF8BC
monochromatic
#EC0DE7 #F541F1 #F87BF5 #FBB5F9 #FDE2FD

Accessibility & contrast

On white

2.30
#F87BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#F87BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BF5
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BF5#FFFFFF#000000##000000
##F87BF51.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F9
Deuteranopia (green-blind)
#96B1F1
Tritanopia (blue-blind)
#FF88AD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87bf5;
/* rgb */ color: rgb(248, 123, 245);
/* oklch */ color: oklch(76.8% 0.209 328.3);
Tailwind
colors: {
  custom: {
    50: '#fda6f9',
    500: '#f87bf5',
    950: '#000000',
  },
}
SCSS
$custom: #f87bf5;
$custom-light: #fda6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f87bf5",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 301.44,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7676,
    "c": 0.20924,
    "h": 328.3
  },
  "luminance": 0.40715
}

Semantic roles & 50–950 ramp

primary
#F87BF5
secondary
#D5F6D6
accent
#E60600
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F87BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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