#F87BF3#F87BF3

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

Color values

HEX#F87BF3
RGBrgb(248, 123, 243)
HSLhsl(302, 90%, 73%)
HSVhsv(302, 50%, 97%)
CMYKcmyk(0%, 50.4%, 2%, 2.7%)
CIE-LABlab(69.89, 63.34, -39.15)
CIE-LCHlch(69.89, 74.46, 328.28°)
OKLaboklab(76.67% 0.1777 -0.1072)
OKLCHoklch(76.67% 0.208 328.9)
XYZxyz(61.9712, 40.5971, 89.3485)
Luminance0.4059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BF3 #7BF880
analogous
#BE7BF8 #F87BF3 #F87BB4
triadic
#F87BF3 #F3F87B #7BF3F8
tetradic
#F87BF3 #F8BE7B #7BF880 #7BB4F8
square
#F87BF3 #F8BE7B #7BF880 #7BB4F8
split-complementary
#F87BF3 #B4F87B #7BF8BE
monochromatic
#EC0DE3 #F541EE #F87BF3 #FBB5F8 #FDE2FC

Accessibility & contrast

On white

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

On black

9.12
#F87BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BF3
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BF3#FFFFFF#000000##000000
##F87BF31.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F7
Deuteranopia (green-blind)
#97B1EF
Tritanopia (blue-blind)
#FF87AC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87bf3;
/* rgb */ color: rgb(248, 123, 243);
/* oklch */ color: oklch(76.7% 0.208 328.9);
Tailwind
colors: {
  custom: {
    50: '#fda6f7',
    500: '#f87bf3',
    950: '#000000',
  },
}
SCSS
$custom: #f87bf3;
$custom-light: #fda6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f87bf3",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 302.4,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76669,
    "c": 0.20755,
    "h": 328.9
  },
  "luminance": 0.40593
}

Semantic roles & 50–950 ramp

primary
#F87BF3
secondary
#D5F6D7
accent
#E60900
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F87BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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