#772CA0#772CA0

#772CA0 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.182 H 310.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#772CA0
RGBrgb(119, 44, 160)
HSLhsl(279, 57%, 40%)
HSVhsv(279, 73%, 63%)
CMYKcmyk(25.6%, 72.5%, 0%, 37.3%)
CIE-LABlab(34.52, 51.54, -48.66)
CIE-LCHlch(34.52, 70.89, 316.65°)
OKLaboklab(45.84% 0.1186 -0.1377)
OKLCHoklch(45.84% 0.182 310.7)
XYZxyz(14.8524, 8.2617, 34.0632)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CA0 #55A02C
analogous
#3D2CA0 #772CA0 #A02C8F
triadic
#772CA0 #A0772C #2CA077
tetradic
#772CA0 #A03D2C #55A02C #2C8FA0
square
#772CA0 #A03D2C #55A02C #2C8FA0
split-complementary
#772CA0 #8FA02C #2CA03D
monochromatic
#301240 #531F70 #772CA0 #993FCA #B26FD7

Accessibility & contrast

On white

7.92
#772CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#772CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CA0
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CA0#FFFFFF#000000##FFFFFF
##772CA01.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#18529D
Tritanopia (blue-blind)
#724663
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #772ca0;
/* rgb */ color: rgb(119, 44, 160);
/* oklch */ color: oklch(45.8% 0.182 310.7);
Tailwind
colors: {
  custom: {
    50: '#a26cbd',
    500: '#772ca0',
    950: '#000000',
  },
}
SCSS
$custom: #772ca0;
$custom-light: #a26cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#772ca0",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 278.793,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.45839,
    "c": 0.18172,
    "h": 310.7
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#772CA0
secondary
#87BF69
accent
#E0487E
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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