#F87BF2#F87BF2

#F87BF2 is a light, highly saturated purple. Relative luminance 0.405; OKLCH L 76.6% C 0.207 H 329.2°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#F87BF2
RGBrgb(248, 123, 242)
HSLhsl(303, 90%, 73%)
HSVhsv(303, 50%, 97%)
CMYKcmyk(0%, 50.4%, 2.4%, 2.7%)
CIE-LABlab(69.85, 63.17, -38.67)
CIE-LCHlch(69.85, 74.07, 328.53°)
OKLaboklab(76.62% 0.1775 -0.1059)
OKLCHoklch(76.62% 0.207 329.2)
XYZxyz(61.8206, 40.5369, 88.5554)
Luminance0.4053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BF2 #7BF881
analogous
#BF7BF8 #F87BF2 #F87BB3
triadic
#F87BF2 #F2F87B #7BF2F8
tetradic
#F87BF2 #F8BF7B #7BF881 #7BB3F8
square
#F87BF2 #F8BF7B #7BF881 #7BB3F8
split-complementary
#F87BF2 #B3F87B #7BF8BF
monochromatic
#EC0DE1 #F541EC #F87BF2 #FBB5F8 #FDE2FC

Accessibility & contrast

On white

2.31
#F87BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#F87BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BF2
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BF2#FFFFFF#000000##000000
##F87BF21.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#98B1EE
Tritanopia (blue-blind)
#FF87AC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87bf2;
/* rgb */ color: rgb(248, 123, 242);
/* oklch */ color: oklch(76.6% 0.207 329.2);
Tailwind
colors: {
  custom: {
    50: '#fda6f6',
    500: '#f87bf2',
    950: '#000000',
  },
}
SCSS
$custom: #f87bf2;
$custom-light: #fda6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f87bf2",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 302.88,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76624,
    "c": 0.2067,
    "h": 329.2
  },
  "luminance": 0.40533
}

Semantic roles & 50–950 ramp

primary
#F87BF2
secondary
#D5F6D7
accent
#E60B00
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F87BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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