#772BAE#772BAE

#772BAE is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.197 H 306.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#772BAE
RGBrgb(119, 43, 174)
HSLhsl(275, 60%, 43%)
HSVhsv(275, 75%, 68%)
CMYKcmyk(31.6%, 75.3%, 0%, 31.8%)
CIE-LABlab(35.41, 55.11, -55.63)
CIE-LCHlch(35.41, 78.30, 314.73°)
OKLaboklab(46.8% 0.1172 -0.1581)
OKLCHoklch(46.8% 0.197 306.5)
XYZxyz(16.1099, 8.7059, 40.8679)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BAE #62AE2B
analogous
#352BAE #772BAE #AE2BA4
triadic
#772BAE #AE772B #2BAE77
tetradic
#772BAE #AE352B #62AE2B #2BA4AE
square
#772BAE #AE352B #62AE2B #2BA4AE
split-complementary
#772BAE #A4AE2B #2BAE35
monochromatic
#34134C #551F7D #772BAE #9645D1 #B276DD

Accessibility & contrast

On white

7.66
#772BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#772BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772BAE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772BAE#FFFFFF#000000##FFFFFF
##772BAE1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#6D4B6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #772bae;
/* rgb */ color: rgb(119, 43, 174);
/* oklch */ color: oklch(46.8% 0.197 306.5);
Tailwind
colors: {
  custom: {
    50: '#a36cc7',
    500: '#772bae',
    950: '#000000',
  },
}
SCSS
$custom: #772bae;
$custom-light: #a36cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#772bae",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 274.809,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.19681,
    "h": 306.5
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#772BAE
secondary
#94C570
accent
#E44487
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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