#772B96#772B96

#772B96 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.173 H 314.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#772B96
RGBrgb(119, 43, 150)
HSLhsl(283, 55%, 38%)
HSVhsv(283, 71%, 59%)
CMYKcmyk(20.7%, 71.3%, 0%, 41.2%)
CIE-LABlab(33.67, 49.80, -43.96)
CIE-LCHlch(33.67, 66.42, 318.56°)
OKLaboklab(45.01% 0.1209 -0.1239)
OKLCHoklch(45.01% 0.173 314.3)
XYZxyz(13.9757, 7.8522, 29.6277)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B96 #4A962B
analogous
#422B96 #772B96 #962B7F
triadic
#772B96 #96772B #2B9677
tetradic
#772B96 #96422B #4A962B #2B7F96
square
#772B96 #96422B #4A962B #2B7F96
split-complementary
#772B96 #7F962B #2B9642
monochromatic
#2C1037 #511D66 #772B96 #9D39C6 #B468D4

Accessibility & contrast

On white

8.17
#772B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#772B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B96
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B96#FFFFFF#000000##FFFFFF
##772B961.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#265194
Tritanopia (blue-blind)
#74415D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772b96;
/* rgb */ color: rgb(119, 43, 150);
/* oklch */ color: oklch(45.0% 0.173 314.3);
Tailwind
colors: {
  custom: {
    50: '#a26bb5',
    500: '#772b96',
    950: '#000000',
  },
}
SCSS
$custom: #772b96;
$custom-light: #a26bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#772b96",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 282.617,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.17306,
    "h": 314.3
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#772B96
secondary
#7CBA63
accent
#DF4974
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772B96

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

Preview Lab → · Contrast checker → · Palette generator →

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