#772AB5#772AB5

#772AB5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.205 H 304.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#772AB5
RGBrgb(119, 42, 181)
HSLhsl(273, 62%, 44%)
HSVhsv(273, 77%, 71%)
CMYKcmyk(34.3%, 76.8%, 0%, 29%)
CIE-LABlab(35.82, 57.11, -59.13)
CIE-LCHlch(35.82, 82.20, 314.00°)
OKLaboklab(47.25% 0.1165 -0.1684)
OKLCHoklch(47.25% 0.205 304.7)
XYZxyz(16.7743, 8.9141, 44.5440)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772AB5 #68B52A
analogous
#312AB5 #772AB5 #B52AAD
triadic
#772AB5 #B5772A #2AB577
tetradic
#772AB5 #B5312A #68B52A #2AADB5
square
#772AB5 #B5312A #68B52A #2AADB5
split-complementary
#772AB5 #ADB52A #2AB531
monochromatic
#361352 #561E83 #772AB5 #9648D4 #B279E0

Accessibility & contrast

On white

7.55
#772AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#772AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772AB5
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772AB5#FFFFFF#000000##FFFFFF
##772AB51.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#6B4E6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772ab5;
/* rgb */ color: rgb(119, 42, 181);
/* oklch */ color: oklch(47.3% 0.205 304.7);
Tailwind
colors: {
  custom: {
    50: '#a46ccc',
    500: '#772ab5',
    950: '#000000',
  },
}
SCSS
$custom: #772ab5;
$custom-light: #a46ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#772ab5",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 273.237,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47253,
    "c": 0.20481,
    "h": 304.7
  },
  "luminance": 0.08914
}

Semantic roles & 50–950 ramp

primary
#772AB5
secondary
#99C873
accent
#E5428B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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