#772AA3#772AA3

#772AA3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.187 H 310.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#772AA3
RGBrgb(119, 42, 163)
HSLhsl(278, 59%, 40%)
HSVhsv(278, 74%, 64%)
CMYKcmyk(27%, 74.2%, 0%, 36.1%)
CIE-LABlab(34.44, 53.05, -50.60)
CIE-LCHlch(34.44, 73.32, 316.35°)
OKLaboklab(45.85% 0.1202 -0.1434)
OKLCHoklch(45.85% 0.187 310)
XYZxyz(15.0453, 8.2225, 35.4378)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772AA3 #56A32A
analogous
#3B2AA3 #772AA3 #A32A92
triadic
#772AA3 #A3772A #2AA377
tetradic
#772AA3 #A33B2A #56A32A #2A92A3
square
#772AA3 #A33B2A #56A32A #2A92A3
split-complementary
#772AA3 #92A32A #2AA33B
monochromatic
#301142 #531D72 #772AA3 #993DCD #B26EDA

Accessibility & contrast

On white

7.94
#772AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772AA3
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772AA3#FFFFFF#000000##FFFFFF
##772AA31.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0D52A0
Tritanopia (blue-blind)
#714664
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #772aa3;
/* rgb */ color: rgb(119, 42, 163);
/* oklch */ color: oklch(45.9% 0.187 310.0);
Tailwind
colors: {
  custom: {
    50: '#a36bbf',
    500: '#772aa3',
    950: '#000000',
  },
}
SCSS
$custom: #772aa3;
$custom-light: #a36bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#772aa3",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 278.182,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45851,
    "c": 0.18707,
    "h": 310
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#772AA3
secondary
#88C068
accent
#E2467F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #772AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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