#772BAC#772BAC

#772BAC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.195 H 307.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#772BAC
RGBrgb(119, 43, 172)
HSLhsl(275, 60%, 42%)
HSVhsv(275, 75%, 67%)
CMYKcmyk(30.8%, 75%, 0%, 32.5%)
CIE-LABlab(35.26, 54.65, -54.68)
CIE-LCHlch(35.26, 77.31, 314.98°)
OKLaboklab(46.64% 0.1176 -0.1554)
OKLCHoklch(46.64% 0.195 307.1)
XYZxyz(15.9164, 8.6284, 39.8487)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BAC #60AC2B
analogous
#372BAC #772BAC #AC2BA1
triadic
#772BAC #AC772B #2BAC77
tetradic
#772BAC #AC372B #60AC2B #2BA1AC
square
#772BAC #AC372B #60AC2B #2BA1AC
split-complementary
#772BAC #A1AC2B #2BAC37
monochromatic
#33134A #551F7B #772BAC #9744D0 #B275DC

Accessibility & contrast

On white

7.70
#772BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#772BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772BAC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772BAC#FFFFFF#000000##FFFFFF
##772BAC1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#6E4A6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #772bac;
/* rgb */ color: rgb(119, 43, 172);
/* oklch */ color: oklch(46.6% 0.195 307.1);
Tailwind
colors: {
  custom: {
    50: '#a36cc6',
    500: '#772bac',
    950: '#000000',
  },
}
SCSS
$custom: #772bac;
$custom-light: #a36cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#772bac",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 275.349,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4664,
    "c": 0.19483,
    "h": 307.1
  },
  "luminance": 0.08628
}

Semantic roles & 50–950 ramp

primary
#772BAC
secondary
#92C46F
accent
#E34586
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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