#772D9F#772D9F

#772D9F is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.179 H 311.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#772D9F
RGBrgb(119, 45, 159)
HSLhsl(279, 56%, 40%)
HSVhsv(279, 72%, 62%)
CMYKcmyk(25.2%, 71.7%, 0%, 37.6%)
CIE-LABlab(34.60, 50.89, -47.93)
CIE-LCHlch(34.60, 69.90, 316.72°)
OKLaboklab(45.88% 0.1177 -0.1355)
OKLCHoklch(45.88% 0.179 311)
XYZxyz(14.8030, 8.3023, 33.6169)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D9F #559F2D
analogous
#3E2D9F #772D9F #9F2D8E
triadic
#772D9F #9F772D #2D9F77
tetradic
#772D9F #9F3E2D #559F2D #2D8E9F
square
#772D9F #9F3E2D #559F2D #2D8E9F
split-complementary
#772D9F #8E9F2D #2D9F3E
monochromatic
#301240 #53206F #772D9F #9940C9 #B270D6

Accessibility & contrast

On white

7.89
#772D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#772D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772D9F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772D9F#FFFFFF#000000##FFFFFF
##772D9F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#1C539D
Tritanopia (blue-blind)
#724663
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #772d9f;
/* rgb */ color: rgb(119, 45, 159);
/* oklch */ color: oklch(45.9% 0.179 311.0);
Tailwind
colors: {
  custom: {
    50: '#a26dbc',
    500: '#772d9f',
    950: '#000000',
  },
}
SCSS
$custom: #772d9f;
$custom-light: #a26dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#772d9f",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 278.947,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.45876,
    "c": 0.17949,
    "h": 311
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#772D9F
secondary
#87BE6A
accent
#DF497D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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