#772EAE#772EAE

#772EAE is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.193 H 306.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#772EAE
RGBrgb(119, 46, 174)
HSLhsl(274, 58%, 43%)
HSVhsv(274, 74%, 68%)
CMYKcmyk(31.6%, 73.6%, 0%, 31.8%)
CIE-LABlab(35.85, 53.85, -54.91)
CIE-LCHlch(35.85, 76.91, 314.44°)
OKLaboklab(47.11% 0.1143 -0.1561)
OKLCHoklch(47.11% 0.193 306.2)
XYZxyz(16.2231, 8.9321, 40.9056)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EAE #65AE2E
analogous
#372EAE #772EAE #AE2EA5
triadic
#772EAE #AE772E #2EAE77
tetradic
#772EAE #AE372E #65AE2E #2EA5AE
square
#772EAE #AE372E #65AE2E #2EA5AE
split-complementary
#772EAE #A5AE2E #2EAE37
monochromatic
#35144D #56217E #772EAE #964ACF #B27ADC

Accessibility & contrast

On white

7.54
#772EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#772EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772EAE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772EAE#FFFFFF#000000##FFFFFF
##772EAE1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772eae;
/* rgb */ color: rgb(119, 46, 174);
/* oklch */ color: oklch(47.1% 0.193 306.2);
Tailwind
colors: {
  custom: {
    50: '#a36ec7',
    500: '#772eae',
    950: '#000000',
  },
}
SCSS
$custom: #772eae;
$custom-light: #a36ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#772eae",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 274.219,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47108,
    "c": 0.19345,
    "h": 306.2
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#772EAE
secondary
#96C474
accent
#E14689
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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