#772EAA#772EAA

#772EAA is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.189 H 307.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#772EAA
RGBrgb(119, 46, 170)
HSLhsl(275, 57%, 42%)
HSVhsv(275, 73%, 67%)
CMYKcmyk(30%, 72.9%, 0%, 33.3%)
CIE-LABlab(35.55, 52.93, -53.01)
CIE-LCHlch(35.55, 74.91, 314.96°)
OKLaboklab(46.8% 0.115 -0.1505)
OKLCHoklch(46.8% 0.189 307.4)
XYZxyz(15.8389, 8.7784, 38.8824)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EAA #61AA2E
analogous
#392EAA #772EAA #AA2E9F
triadic
#772EAA #AA772E #2EAA77
tetradic
#772EAA #AA392E #61AA2E #2E9FAA
square
#772EAA #AA392E #61AA2E #2E9FAA
split-complementary
#772EAA #9FAA2E #2EAA39
monochromatic
#34144A #55217A #772EAA #9648CD #B278DA

Accessibility & contrast

On white

7.62
#772EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#772EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EAA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EAA#FFFFFF#000000##FFFFFF
##772EAA1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#6F4B69
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772eaa;
/* rgb */ color: rgb(119, 46, 170);
/* oklch */ color: oklch(46.8% 0.189 307.4);
Tailwind
colors: {
  custom: {
    50: '#a36ec4',
    500: '#772eaa',
    950: '#000000',
  },
}
SCSS
$custom: #772eaa;
$custom-light: #a36ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#772eaa",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 275.323,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46802,
    "c": 0.18939,
    "h": 307.4
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#772EAA
secondary
#93C371
accent
#E14786
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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