#772BAA#772BAA

#772BAA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.193 H 307.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#772BAA
RGBrgb(119, 43, 170)
HSLhsl(276, 60%, 42%)
HSVhsv(276, 75%, 67%)
CMYKcmyk(30%, 74.7%, 0%, 33.3%)
CIE-LABlab(35.11, 54.20, -53.73)
CIE-LCHlch(35.11, 76.32, 315.25°)
OKLaboklab(46.49% 0.118 -0.1526)
OKLCHoklch(46.49% 0.193 307.7)
XYZxyz(15.7258, 8.5522, 38.8447)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BAA #5EAA2B
analogous
#382BAA #772BAA #AA2B9D
triadic
#772BAA #AA772B #2BAA77
tetradic
#772BAA #AA382B #5EAA2B #2B9DAA
square
#772BAA #AA382B #5EAA2B #2B9DAA
split-complementary
#772BAA #9DAA2B #2BAA38
monochromatic
#331248 #551F79 #772BAA #9743CF #B274DC

Accessibility & contrast

On white

7.75
#772BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#772BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772BAA
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772BAA#FFFFFF#000000##FFFFFF
##772BAA1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#6F4968
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #772baa;
/* rgb */ color: rgb(119, 43, 170);
/* oklch */ color: oklch(46.5% 0.193 307.7);
Tailwind
colors: {
  custom: {
    50: '#a36cc4',
    500: '#772baa',
    950: '#000000',
  },
}
SCSS
$custom: #772baa;
$custom-light: #a36cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#772baa",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 275.906,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.19285,
    "h": 307.7
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

primary
#772BAA
secondary
#90C36E
accent
#E34584
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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