#772DAE#772DAE

#772DAE is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.195 H 306.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#772DAE
RGBrgb(119, 45, 174)
HSLhsl(274, 59%, 43%)
HSVhsv(274, 74%, 68%)
CMYKcmyk(31.6%, 74.1%, 0%, 31.8%)
CIE-LABlab(35.70, 54.27, -55.15)
CIE-LCHlch(35.70, 77.38, 314.54°)
OKLaboklab(47% 0.1153 -0.1568)
OKLCHoklch(47% 0.195 306.3)
XYZxyz(16.1844, 8.8549, 40.8927)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DAE #64AE2D
analogous
#372DAE #772DAE #AE2DA4
triadic
#772DAE #AE772D #2DAE77
tetradic
#772DAE #AE372D #64AE2D #2DA4AE
square
#772DAE #AE372D #64AE2D #2DA4AE
split-complementary
#772DAE #A4AE2D #2DAE37
monochromatic
#34144D #56207D #772DAE #9648D0 #B279DC

Accessibility & contrast

On white

7.58
#772DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#772DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772DAE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772DAE#FFFFFF#000000##FFFFFF
##772DAE1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#6D4C6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772dae;
/* rgb */ color: rgb(119, 45, 174);
/* oklch */ color: oklch(47.0% 0.195 306.3);
Tailwind
colors: {
  custom: {
    50: '#a36dc7',
    500: '#772dae',
    950: '#000000',
  },
}
SCSS
$custom: #772dae;
$custom-light: #a36dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#772dae",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 274.419,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47002,
    "c": 0.19459,
    "h": 306.3
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#772DAE
secondary
#95C472
accent
#E24688
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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