#F87BF4#F87BF4

#F87BF4 is a light, highly saturated purple. Relative luminance 0.407; OKLCH L 76.7% C 0.208 H 328.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#F87BF4
RGBrgb(248, 123, 244)
HSLhsl(302, 90%, 73%)
HSVhsv(302, 50%, 97%)
CMYKcmyk(0%, 50.4%, 1.6%, 2.7%)
CIE-LABlab(69.94, 63.51, -39.63)
CIE-LCHlch(69.94, 74.86, 328.03°)
OKLaboklab(76.71% 0.1778 -0.1086)
OKLCHoklch(76.71% 0.208 328.6)
XYZxyz(62.1227, 40.6577, 90.1460)
Luminance0.4065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BF4 #7BF87F
analogous
#BD7BF8 #F87BF4 #F87BB5
triadic
#F87BF4 #F4F87B #7BF4F8
tetradic
#F87BF4 #F8BD7B #7BF87F #7BB5F8
square
#F87BF4 #F8BD7B #7BF87F #7BB5F8
split-complementary
#F87BF4 #B5F87B #7BF8BD
monochromatic
#EC0DE5 #F541EF #F87BF4 #FBB5F9 #FDE2FD

Accessibility & contrast

On white

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

On black

9.13
#F87BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BF4
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BF4#FFFFFF#000000##000000
##F87BF41.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F8
Deuteranopia (green-blind)
#97B1F0
Tritanopia (blue-blind)
#FF88AD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87bf4;
/* rgb */ color: rgb(248, 123, 244);
/* oklch */ color: oklch(76.7% 0.208 328.6);
Tailwind
colors: {
  custom: {
    50: '#fda6f8',
    500: '#f87bf4',
    950: '#000000',
  },
}
SCSS
$custom: #f87bf4;
$custom-light: #fda6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f87bf4",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 301.92,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76714,
    "c": 0.20839,
    "h": 328.6
  },
  "luminance": 0.40654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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