#772AA9#772AA9

#772AA9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.193 H 308.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#772AA9
RGBrgb(119, 42, 169)
HSLhsl(276, 60%, 41%)
HSVhsv(276, 75%, 66%)
CMYKcmyk(29.6%, 75.1%, 0%, 33.7%)
CIE-LABlab(34.89, 54.39, -53.49)
CIE-LCHlch(34.89, 76.28, 315.48°)
OKLaboklab(46.31% 0.1191 -0.1519)
OKLCHoklch(46.31% 0.193 308.1)
XYZxyz(15.5957, 8.4427, 38.3364)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772AA9 #5CA92A
analogous
#382AA9 #772AA9 #A92A9C
triadic
#772AA9 #A9772A #2AA977
tetradic
#772AA9 #A9382A #5CA92A #2A9CA9
square
#772AA9 #A9382A #5CA92A #2A9CA9
split-complementary
#772AA9 #9CA92A #2AA938
monochromatic
#321247 #541E78 #772AA9 #9741D0 #B272DC

Accessibility & contrast

On white

7.81
#772AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#772AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772AA9
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772AA9#FFFFFF#000000##FFFFFF
##772AA91.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#6F4868
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #772aa9;
/* rgb */ color: rgb(119, 42, 169);
/* oklch */ color: oklch(46.3% 0.193 308.1);
Tailwind
colors: {
  custom: {
    50: '#a36cc3',
    500: '#772aa9',
    950: '#000000',
  },
}
SCSS
$custom: #772aa9;
$custom-light: #a36cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#772aa9",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 276.378,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46307,
    "c": 0.19298,
    "h": 308.1
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#772AA9
secondary
#8EC36C
accent
#E34483
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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