#772B99#772B99

#772B99 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.176 H 313.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#772B99
RGBrgb(119, 43, 153)
HSLhsl(281, 56%, 38%)
HSVhsv(281, 72%, 60%)
CMYKcmyk(22.2%, 71.9%, 0%, 40%)
CIE-LABlab(33.88, 50.44, -45.46)
CIE-LCHlch(33.88, 67.90, 317.98°)
OKLaboklab(45.23% 0.1206 -0.1283)
OKLCHoklch(45.23% 0.176 313.2)
XYZxyz(14.2204, 7.9500, 30.9162)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B99 #4D992B
analogous
#402B99 #772B99 #992B84
triadic
#772B99 #99772B #2B9977
tetradic
#772B99 #99402B #4D992B #2B8499
square
#772B99 #99402B #4D992B #2B8499
split-complementary
#772B99 #84992B #2B9940
monochromatic
#2D1039 #521E69 #772B99 #9C3AC8 #B469D5

Accessibility & contrast

On white

8.11
#772B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#772B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B99
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B99#FFFFFF#000000##FFFFFF
##772B991.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#225197
Tritanopia (blue-blind)
#73425F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772b99;
/* rgb */ color: rgb(119, 43, 153);
/* oklch */ color: oklch(45.2% 0.176 313.2);
Tailwind
colors: {
  custom: {
    50: '#a26bb8',
    500: '#772b99',
    950: '#000000',
  },
}
SCSS
$custom: #772b99;
$custom-light: #a26bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#772b99",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 281.455,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45225,
    "c": 0.17602,
    "h": 313.2
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#772B99
secondary
#7FBC64
accent
#DF4877
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772B99

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

Preview Lab → · Contrast checker → · Palette generator →

#772B99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva