#772AB9#772AB9

#772AB9 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.209 H 303.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#772AB9
RGBrgb(119, 42, 185)
HSLhsl(272, 63%, 45%)
HSVhsv(272, 77%, 73%)
CMYKcmyk(35.7%, 77.3%, 0%, 27.5%)
CIE-LABlab(36.14, 58.02, -60.97)
CIE-LCHlch(36.14, 84.17, 313.58°)
OKLaboklab(47.58% 0.1156 -0.1738)
OKLCHoklch(47.58% 0.209 303.6)
XYZxyz(17.1906, 9.0807, 46.7366)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772AB9 #6CB92A
analogous
#302AB9 #772AB9 #B92AB4
triadic
#772AB9 #B9772A #2AB977
tetradic
#772AB9 #B9302A #6CB92A #2AB4B9
square
#772AB9 #B9302A #6CB92A #2AB4B9
split-complementary
#772AB9 #B4B92A #2AB930
monochromatic
#371355 #571F87 #772AB9 #954AD6 #B37CE1

Accessibility & contrast

On white

7.46
#772AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#772AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772AB9
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772AB9#FFFFFF#000000##FFFFFF
##772AB91.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#6A4F71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #772ab9;
/* rgb */ color: rgb(119, 42, 185);
/* oklch */ color: oklch(47.6% 0.209 303.6);
Tailwind
colors: {
  custom: {
    50: '#a46ccf',
    500: '#772ab9',
    950: '#000000',
  },
}
SCSS
$custom: #772ab9;
$custom-light: #a46ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#772ab9",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 272.308,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47578,
    "c": 0.20875,
    "h": 303.6
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#772AB9
secondary
#9CCA75
accent
#E6428E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #772AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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