#772DA0#772DA0

#772DA0 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.180 H 310.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#772DA0
RGBrgb(119, 45, 160)
HSLhsl(279, 56%, 40%)
HSVhsv(279, 72%, 63%)
CMYKcmyk(25.6%, 71.9%, 0%, 37.3%)
CIE-LABlab(34.68, 51.11, -48.42)
CIE-LCHlch(34.68, 70.40, 316.55°)
OKLaboklab(45.95% 0.1176 -0.137)
OKLCHoklch(45.95% 0.18 310.6)
XYZxyz(14.8901, 8.3371, 34.0757)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DA0 #56A02D
analogous
#3E2DA0 #772DA0 #A02D8F
triadic
#772DA0 #A0772D #2DA077
tetradic
#772DA0 #A03E2D #56A02D #2D8FA0
square
#772DA0 #A03E2D #56A02D #2D8FA0
split-complementary
#772DA0 #8FA02D #2DA03E
monochromatic
#301240 #532070 #772DA0 #9941C9 #B270D7

Accessibility & contrast

On white

7.87
#772DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772DA0
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DA0#FFFFFF#000000##FFFFFF
##772DA01.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#1A539E
Tritanopia (blue-blind)
#724663
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #772da0;
/* rgb */ color: rgb(119, 45, 160);
/* oklch */ color: oklch(45.9% 0.180 310.6);
Tailwind
colors: {
  custom: {
    50: '#a26dbd',
    500: '#772da0',
    950: '#000000',
  },
}
SCSS
$custom: #772da0;
$custom-light: #a26dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#772da0",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 278.609,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.18049,
    "h": 310.6
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#772DA0
secondary
#88BE6B
accent
#DF487E
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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