#772CAD#772CAD

#772CAD is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.195 H 306.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#772CAD
RGBrgb(119, 44, 173)
HSLhsl(275, 59%, 43%)
HSVhsv(275, 75%, 68%)
CMYKcmyk(31.2%, 74.6%, 0%, 32.2%)
CIE-LABlab(35.48, 54.47, -54.92)
CIE-LCHlch(35.48, 77.35, 314.76°)
OKLaboklab(46.82% 0.1164 -0.1561)
OKLCHoklch(46.82% 0.195 306.7)
XYZxyz(16.0496, 8.7406, 40.3687)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CAD #62AD2C
analogous
#372CAD #772CAD #AD2CA2
triadic
#772CAD #AD772C #2CAD77
tetradic
#772CAD #AD372C #62AD2C #2CA2AD
square
#772CAD #AD372C #62AD2C #2CA2AD
split-complementary
#772CAD #A2AD2C #2CAD37
monochromatic
#34134B #55207C #772CAD #9646D0 #B277DC

Accessibility & contrast

On white

7.64
#772CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#772CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CAD
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CAD#FFFFFF#000000##FFFFFF
##772CAD1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#6E4B6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #772cad;
/* rgb */ color: rgb(119, 44, 173);
/* oklch */ color: oklch(46.8% 0.195 306.7);
Tailwind
colors: {
  custom: {
    50: '#a36dc6',
    500: '#772cad',
    950: '#000000',
  },
}
SCSS
$custom: #772cad;
$custom-light: #a36dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#772cad",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 274.884,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4682,
    "c": 0.19471,
    "h": 306.7
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#772CAD
secondary
#94C471
accent
#E34587
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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