#772A8F#772A8F

#772A8F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.168 H 317.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#772A8F
RGBrgb(119, 42, 143)
HSLhsl(286, 55%, 36%)
HSVhsv(286, 71%, 56%)
CMYKcmyk(16.8%, 70.6%, 0%, 43.9%)
CIE-LABlab(33.05, 48.75, -40.67)
CIE-LCHlch(33.05, 63.48, 320.17°)
OKLaboklab(44.42% 0.1226 -0.1142)
OKLCHoklch(44.42% 0.168 317)
XYZxyz(13.3929, 7.5616, 26.7353)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A8F #428F2A
analogous
#452A8F #772A8F #8F2A75
triadic
#772A8F #8F772A #2A8F77
tetradic
#772A8F #8F452A #428F2A #2A758F
square
#772A8F #8F452A #428F2A #2A758F
split-complementary
#772A8F #758F2A #2A8F45
monochromatic
#280E30 #501C60 #772A8F #9E38BE #B762D1

Accessibility & contrast

On white

8.36
#772A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#772A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A8F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A8F#FFFFFF#000000##FFFFFF
##772A8F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#763E59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772a8f;
/* rgb */ color: rgb(119, 42, 143);
/* oklch */ color: oklch(44.4% 0.168 317.0);
Tailwind
colors: {
  custom: {
    50: '#a16ab0',
    500: '#772a8f',
    950: '#000000',
  },
}
SCSS
$custom: #772a8f;
$custom-light: #a16ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#772a8f",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 285.743,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44421,
    "c": 0.16753,
    "h": 317
  },
  "luminance": 0.07561
}

Semantic roles & 50–950 ramp

primary
#772A8F
secondary
#73B75E
accent
#DE4A6D
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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