#772DA1#772DA1

#772DA1 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.181 H 310.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#772DA1
RGBrgb(119, 45, 161)
HSLhsl(278, 56%, 40%)
HSVhsv(278, 72%, 63%)
CMYKcmyk(26.1%, 72%, 0%, 36.9%)
CIE-LABlab(34.75, 51.33, -48.91)
CIE-LCHlch(34.75, 70.90, 316.39°)
OKLaboklab(46.02% 0.1174 -0.1384)
OKLCHoklch(46.02% 0.182 310.3)
XYZxyz(14.9779, 8.3722, 34.5383)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DA1 #57A12D
analogous
#3D2DA1 #772DA1 #A12D91
triadic
#772DA1 #A1772D #2DA177
tetradic
#772DA1 #A13D2D #57A12D #2D91A1
square
#772DA1 #A13D2D #57A12D #2D91A1
split-complementary
#772DA1 #91A12D #2DA13D
monochromatic
#301241 #542071 #772DA1 #9841CA #B271D7

Accessibility & contrast

On white

7.85
#772DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#772DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DA1
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DA1#FFFFFF#000000##FFFFFF
##772DA11.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#18539E
Tritanopia (blue-blind)
#714764
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #772da1;
/* rgb */ color: rgb(119, 45, 161);
/* oklch */ color: oklch(46.0% 0.181 310.3);
Tailwind
colors: {
  custom: {
    50: '#a26dbd',
    500: '#772da1',
    950: '#000000',
  },
}
SCSS
$custom: #772da1;
$custom-light: #a26dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#772da1",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 278.276,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46022,
    "c": 0.1815,
    "h": 310.3
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#772DA1
secondary
#89BF6B
accent
#E0487F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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