#772EAB#772EAB

#772EAB is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.190 H 307.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#772EAB
RGBrgb(119, 46, 171)
HSLhsl(275, 58%, 43%)
HSVhsv(275, 73%, 67%)
CMYKcmyk(30.4%, 73.1%, 0%, 32.9%)
CIE-LABlab(35.63, 53.16, -53.48)
CIE-LCHlch(35.63, 75.41, 314.83°)
OKLaboklab(46.88% 0.1149 -0.1519)
OKLCHoklch(46.88% 0.19 307.1)
XYZxyz(15.9339, 8.8164, 39.3825)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EAB #62AB2E
analogous
#382EAB #772EAB #AB2EA1
triadic
#772EAB #AB772E #2EAB77
tetradic
#772EAB #AB382E #62AB2E #2EA1AB
square
#772EAB #AB382E #62AB2E #2EA1AB
split-complementary
#772EAB #A1AB2E #2EAB38
monochromatic
#34144B #55217B #772EAB #9648CE #B279DB

Accessibility & contrast

On white

7.60
#772EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772EAB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EAB#FFFFFF#000000##FFFFFF
##772EAB1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#6E4B6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772eab;
/* rgb */ color: rgb(119, 46, 171);
/* oklch */ color: oklch(46.9% 0.190 307.1);
Tailwind
colors: {
  custom: {
    50: '#a36ec5',
    500: '#772eab',
    950: '#000000',
  },
}
SCSS
$custom: #772eab;
$custom-light: #a36ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#772eab",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 275.04,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46878,
    "c": 0.1904,
    "h": 307.1
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

primary
#772EAB
secondary
#94C372
accent
#E14787
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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