#772AAA#772AAA

#772AAA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.194 H 307.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#772AAA
RGBrgb(119, 42, 170)
HSLhsl(276, 60%, 42%)
HSVhsv(276, 75%, 67%)
CMYKcmyk(30%, 75.3%, 0%, 33.3%)
CIE-LABlab(34.96, 54.61, -53.96)
CIE-LCHlch(34.96, 76.77, 315.34°)
OKLaboklab(46.38% 0.1189 -0.1532)
OKLCHoklch(46.38% 0.194 307.8)
XYZxyz(15.6899, 8.4804, 38.8327)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772AAA #5DAA2A
analogous
#372AAA #772AAA #AA2A9D
triadic
#772AAA #AA772A #2AAA77
tetradic
#772AAA #AA372A #5DAA2A #2A9DAA
square
#772AAA #AA372A #5DAA2A #2A9DAA
split-complementary
#772AAA #9DAA2A #2AAA37
monochromatic
#321248 #551E79 #772AAA #9741D0 #B272DC

Accessibility & contrast

On white

7.79
#772AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#772AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772AAA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772AAA#FFFFFF#000000##FFFFFF
##772AAA1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#6F4968
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #772aaa;
/* rgb */ color: rgb(119, 42, 170);
/* oklch */ color: oklch(46.4% 0.194 307.8);
Tailwind
colors: {
  custom: {
    50: '#a36cc4',
    500: '#772aaa',
    950: '#000000',
  },
}
SCSS
$custom: #772aaa;
$custom-light: #a36cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#772aaa",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 276.094,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46384,
    "c": 0.19396,
    "h": 307.8
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#772AAA
secondary
#8FC36C
accent
#E44484
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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