#FB77EC#FB77EC

#FB77EC is a light, highly saturated purple. Relative luminance 0.398; OKLCH L 76.2% C 0.210 H 331.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#FB77EC
RGBrgb(251, 119, 236)
HSLhsl(307, 94%, 73%)
HSVhsv(307, 53%, 98%)
CMYKcmyk(0%, 52.6%, 6%, 1.6%)
CIE-LABlab(69.30, 64.84, -36.20)
CIE-LCHlch(69.30, 74.26, 330.83°)
OKLaboklab(76.22% 0.1851 -0.0987)
OKLCHoklch(76.22% 0.21 331.9)
XYZxyz(61.5206, 39.7631, 83.7753)
Luminance0.3976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB77EC #77FB86
analogous
#C877FB #FB77EC #FB77AA
triadic
#FB77EC #ECFB77 #77ECFB
tetradic
#FB77EC #FBC877 #77FB86 #77AAFB
square
#FB77EC #FBC877 #77FB86 #77AAFB
split-complementary
#FB77EC #AAFB77 #77FBC8
monochromatic
#F107D6 #F93CE4 #FB77EC #FDB2F4 #FEE1FB

Accessibility & contrast

On white

2.35
#FB77EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#FB77EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB77EC
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB77EC#FFFFFF#000000##000000
##FB77EC1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#9AB0E8
Tritanopia (blue-blind)
#FF81A7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb77ec;
/* rgb */ color: rgb(251, 119, 236);
/* oklch */ color: oklch(76.2% 0.210 331.9);
Tailwind
colors: {
  custom: {
    50: '#ffa3f2',
    500: '#fb77ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb77ec;
$custom-light: #ffa3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb77ec",
  "rgb": {
    "r": 251,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 306.818,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76216,
    "c": 0.20974,
    "h": 331.9
  },
  "luminance": 0.39759
}

Semantic roles & 50–950 ramp

primary
#FB77EC
secondary
#D5F6D8
accent
#E61A00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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