#772E9F#772E9F

#772E9F is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.178 H 310.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#772E9F
RGBrgb(119, 46, 159)
HSLhsl(279, 55%, 40%)
HSVhsv(279, 71%, 62%)
CMYKcmyk(25.2%, 71.1%, 0%, 37.6%)
CIE-LABlab(34.76, 50.45, -47.67)
CIE-LCHlch(34.76, 69.41, 316.62°)
OKLaboklab(45.99% 0.1166 -0.1348)
OKLCHoklch(45.99% 0.178 310.9)
XYZxyz(14.8416, 8.3795, 33.6297)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E9F #569F2E
analogous
#3E2E9F #772E9F #9F2E8E
triadic
#772E9F #9F772E #2E9F77
tetradic
#772E9F #9F3E2E #569F2E #2E8E9F
square
#772E9F #9F3E2E #569F2E #2E8E9F
split-complementary
#772E9F #8E9F2E #2E9F3E
monochromatic
#301340 #532070 #772E9F #9942C8 #B271D6

Accessibility & contrast

On white

7.85
#772E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#772E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E9F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E9F#FFFFFF#000000##FFFFFF
##772E9F1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#1D539D
Tritanopia (blue-blind)
#724763
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #772e9f;
/* rgb */ color: rgb(119, 46, 159);
/* oklch */ color: oklch(46.0% 0.178 310.9);
Tailwind
colors: {
  custom: {
    50: '#a26dbc',
    500: '#772e9f',
    950: '#000000',
  },
}
SCSS
$custom: #772e9f;
$custom-light: #a26dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#772e9f",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 278.761,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45987,
    "c": 0.17824,
    "h": 310.9
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#772E9F
secondary
#88BE6B
accent
#DE497E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #772E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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