#F77BFB#F77BFB

#F77BFB is a light, highly saturated purple. Relative luminance 0.409; OKLCH L 76.9% C 0.214 H 326.2°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#F77BFB
RGBrgb(247, 123, 251)
HSLhsl(298, 94%, 73%)
HSVhsv(298, 51%, 98%)
CMYKcmyk(1.6%, 51%, 0%, 1.6%)
CIE-LABlab(70.11, 64.44, -43.20)
CIE-LCHlch(70.11, 77.58, 326.16°)
OKLaboklab(76.92% 0.1777 -0.1189)
OKLCHoklch(76.92% 0.214 326.2)
XYZxyz(62.8521, 40.9085, 95.8336)
Luminance0.4091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F77BFB #7FFB7B
analogous
#B77BFB #F77BFB #FB7BBF
triadic
#F77BFB #FBF77B #7BFBF7
tetradic
#F77BFB #FBB77B #7FFB7B #7BBFFB
square
#F77BFB #FBB77B #7FFB7B #7BBFFB
split-complementary
#F77BFB #BFFB7B #7BFBB7
monochromatic
#ED07F4 #F340F9 #F77BFB #FBB6FD #FDE1FE

Accessibility & contrast

On white

2.29
#F77BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#F77BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F77BFB
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F77BFB#FFFFFF#000000##000000
##F77BFB1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#93B1F7
Tritanopia (blue-blind)
#FD8AB0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f77bfb;
/* rgb */ color: rgb(247, 123, 251);
/* oklch */ color: oklch(76.9% 0.214 326.2);
Tailwind
colors: {
  custom: {
    50: '#fca6fd',
    500: '#f77bfb',
    950: '#000000',
  },
}
SCSS
$custom: #f77bfb;
$custom-light: #fca6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f77bfb",
  "rgb": {
    "r": 247,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 298.125,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76917,
    "c": 0.21382,
    "h": 326.2
  },
  "luminance": 0.40905
}

Semantic roles & 50–950 ramp

primary
#F77BFB
secondary
#D6F6D5
accent
#E60007
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F77BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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