#772AB6#772AB6

#772AB6 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.206 H 304.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#772AB6
RGBrgb(119, 42, 182)
HSLhsl(273, 63%, 44%)
HSVhsv(273, 77%, 71%)
CMYKcmyk(34.6%, 76.9%, 0%, 28.6%)
CIE-LABlab(35.90, 57.33, -59.59)
CIE-LCHlch(35.90, 82.69, 313.89°)
OKLaboklab(47.33% 0.1163 -0.1698)
OKLCHoklch(47.33% 0.206 304.4)
XYZxyz(16.8773, 8.9553, 45.0863)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772AB6 #69B62A
analogous
#312AB6 #772AB6 #B62AAF
triadic
#772AB6 #B6772A #2AB677
tetradic
#772AB6 #B6312A #69B62A #2AAFB6
square
#772AB6 #B6312A #69B62A #2AAFB6
split-complementary
#772AB6 #AFB62A #2AB631
monochromatic
#361353 #561F84 #772AB6 #9648D5 #B27AE0

Accessibility & contrast

On white

7.52
#772AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#772AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772AB6
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772AB6#FFFFFF#000000##FFFFFF
##772AB61.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#6B4E6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772ab6;
/* rgb */ color: rgb(119, 42, 182);
/* oklch */ color: oklch(47.3% 0.206 304.4);
Tailwind
colors: {
  custom: {
    50: '#a46ccd',
    500: '#772ab6',
    950: '#000000',
  },
}
SCSS
$custom: #772ab6;
$custom-light: #a46ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#772ab6",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 273,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47334,
    "c": 0.20579,
    "h": 304.4
  },
  "luminance": 0.08955
}

Semantic roles & 50–950 ramp

primary
#772AB6
secondary
#9AC873
accent
#E6428C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #772AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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