#772CAE#772CAE

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

Color values

HEX#772CAE
RGBrgb(119, 44, 174)
HSLhsl(275, 60%, 43%)
HSVhsv(275, 75%, 68%)
CMYKcmyk(31.6%, 74.7%, 0%, 31.8%)
CIE-LABlab(35.56, 54.69, -55.39)
CIE-LCHlch(35.56, 77.84, 314.64°)
OKLaboklab(46.9% 0.1162 -0.1575)
OKLCHoklch(46.9% 0.196 306.4)
XYZxyz(16.1467, 8.7795, 40.8802)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CAE #63AE2C
analogous
#362CAE #772CAE #AE2CA4
triadic
#772CAE #AE772C #2CAE77
tetradic
#772CAE #AE362C #63AE2C #2CA4AE
square
#772CAE #AE362C #63AE2C #2CA4AE
split-complementary
#772CAE #A4AE2C #2CAE36
monochromatic
#34134C #56207D #772CAE #9647D0 #B278DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##772CAE#FFFFFF#000000##FFFFFF
##772CAE1.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)
#0051B2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#6D4C6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772cae;
/* rgb */ color: rgb(119, 44, 174);
/* oklch */ color: oklch(46.9% 0.196 306.4);
Tailwind
colors: {
  custom: {
    50: '#a36dc7',
    500: '#772cae',
    950: '#000000',
  },
}
SCSS
$custom: #772cae;
$custom-light: #a36dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#772cae",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 274.615,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46898,
    "c": 0.19571,
    "h": 306.4
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#772CAE
secondary
#94C571
accent
#E34588
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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