#772B9A#772B9A

#772B9A is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.177 H 312.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#772B9A
RGBrgb(119, 43, 154)
HSLhsl(281, 56%, 39%)
HSVhsv(281, 72%, 60%)
CMYKcmyk(22.7%, 72.1%, 0%, 39.6%)
CIE-LABlab(33.95, 50.66, -45.95)
CIE-LCHlch(33.95, 68.40, 317.79°)
OKLaboklab(45.3% 0.1204 -0.1297)
OKLCHoklch(45.3% 0.177 312.9)
XYZxyz(14.3033, 7.9832, 31.3530)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B9A #4E9A2B
analogous
#3F2B9A #772B9A #9A2B85
triadic
#772B9A #9A772B #2B9A77
tetradic
#772B9A #9A3F2B #4E9A2B #2B859A
square
#772B9A #9A3F2B #4E9A2B #2B859A
split-complementary
#772B9A #859A2B #2B9A3F
monochromatic
#2D103A #521E6A #772B9A #9B3AC8 #B46AD5

Accessibility & contrast

On white

8.09
#772B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#772B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B9A
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B9A#FFFFFF#000000##FFFFFF
##772B9A1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#215198
Tritanopia (blue-blind)
#734360
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #772b9a;
/* rgb */ color: rgb(119, 43, 154);
/* oklch */ color: oklch(45.3% 0.177 312.9);
Tailwind
colors: {
  custom: {
    50: '#a26bb8',
    500: '#772b9a',
    950: '#000000',
  },
}
SCSS
$custom: #772b9a;
$custom-light: #a26bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#772b9a",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 281.081,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45297,
    "c": 0.177,
    "h": 312.9
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#772B9A
secondary
#80BC65
accent
#E04878
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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