#772CA5#772CA5

#772CA5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.187 H 309.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#772CA5
RGBrgb(119, 44, 165)
HSLhsl(277, 58%, 41%)
HSVhsv(277, 73%, 65%)
CMYKcmyk(27.9%, 73.3%, 0%, 35.3%)
CIE-LABlab(34.88, 52.66, -51.09)
CIE-LCHlch(34.88, 73.37, 315.86°)
OKLaboklab(46.21% 0.1179 -0.1448)
OKLCHoklch(46.21% 0.187 309.1)
XYZxyz(15.2986, 8.4402, 36.4132)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CA5 #5AA52C
analogous
#3A2CA5 #772CA5 #A52C96
triadic
#772CA5 #A5772C #2CA577
tetradic
#772CA5 #A53A2C #5AA52C #2C96A5
square
#772CA5 #A53A2C #5AA52C #2C96A5
split-complementary
#772CA5 #96A52C #2CA53A
monochromatic
#311244 #541F75 #772CA5 #9842CD #B272D9

Accessibility & contrast

On white

7.81
#772CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#772CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CA5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CA5#FFFFFF#000000##FFFFFF
##772CA51.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0C53A2
Tritanopia (blue-blind)
#704866
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #772ca5;
/* rgb */ color: rgb(119, 44, 165);
/* oklch */ color: oklch(46.2% 0.187 309.1);
Tailwind
colors: {
  custom: {
    50: '#a36cc0',
    500: '#772ca5',
    950: '#000000',
  },
}
SCSS
$custom: #772ca5;
$custom-light: #a36cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#772ca5",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 277.19,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4621,
    "c": 0.18672,
    "h": 309.1
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#772CA5
secondary
#8CC16C
accent
#E14781
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #772CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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