#772CAA#772CAA

#772CAA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.192 H 307.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#772CAA
RGBrgb(119, 44, 170)
HSLhsl(276, 59%, 42%)
HSVhsv(276, 74%, 67%)
CMYKcmyk(30%, 74.1%, 0%, 33.3%)
CIE-LABlab(35.25, 53.78, -53.49)
CIE-LCHlch(35.25, 75.86, 315.16°)
OKLaboklab(46.59% 0.117 -0.1519)
OKLCHoklch(46.59% 0.192 307.6)
XYZxyz(15.7626, 8.6258, 38.8570)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CAA #5FAA2C
analogous
#382CAA #772CAA #AA2C9E
triadic
#772CAA #AA772C #2CAA77
tetradic
#772CAA #AA382C #5FAA2C #2C9EAA
square
#772CAA #AA382C #5FAA2C #2C9EAA
split-complementary
#772CAA #9EAA2C #2CAA38
monochromatic
#331349 #551F79 #772CAA #9744CF #B275DB

Accessibility & contrast

On white

7.71
#772CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#772CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CAA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CAA#FFFFFF#000000##FFFFFF
##772CAA1.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#6F4A69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #772caa;
/* rgb */ color: rgb(119, 44, 170);
/* oklch */ color: oklch(46.6% 0.192 307.6);
Tailwind
colors: {
  custom: {
    50: '#a36dc4',
    500: '#772caa',
    950: '#000000',
  },
}
SCSS
$custom: #772caa;
$custom-light: #a36dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#772caa",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 275.714,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46589,
    "c": 0.19171,
    "h": 307.6
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#772CAA
secondary
#91C36F
accent
#E24685
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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