#772E9A#772E9A

#772E9A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.173 H 312.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#772E9A
RGBrgb(119, 46, 154)
HSLhsl(281, 54%, 39%)
HSVhsv(281, 70%, 60%)
CMYKcmyk(22.7%, 70.1%, 0%, 39.6%)
CIE-LABlab(34.42, 49.34, -45.20)
CIE-LCHlch(34.42, 66.92, 317.51°)
OKLaboklab(45.63% 0.1172 -0.1275)
OKLCHoklch(45.63% 0.173 312.6)
XYZxyz(14.4164, 8.2094, 31.3907)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E9A #519A2E
analogous
#412E9A #772E9A #9A2E87
triadic
#772E9A #9A772E #2E9A77
tetradic
#772E9A #9A412E #519A2E #2E879A
square
#772E9A #9A412E #519A2E #2E879A
split-complementary
#772E9A #879A2E #2E9A41
monochromatic
#2E123C #53206B #772E9A #9A3FC6 #B36FD4

Accessibility & contrast

On white

7.95
#772E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#772E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E9A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E9A#FFFFFF#000000##FFFFFF
##772E9A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#245298
Tritanopia (blue-blind)
#734560
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #772e9a;
/* rgb */ color: rgb(119, 46, 154);
/* oklch */ color: oklch(45.6% 0.173 312.6);
Tailwind
colors: {
  custom: {
    50: '#a26db8',
    500: '#772e9a',
    950: '#000000',
  },
}
SCSS
$custom: #772e9a;
$custom-light: #a26db8;
$custom-dark: #000000;
JSON
{
  "hex": "#772e9a",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 280.556,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4563,
    "c": 0.17318,
    "h": 312.6
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#772E9A
secondary
#83BB69
accent
#DD4A7A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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