#772EAC#772EAC

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

Color values

HEX#772EAC
RGBrgb(119, 46, 172)
HSLhsl(275, 58%, 43%)
HSVhsv(275, 73%, 67%)
CMYKcmyk(30.8%, 73.3%, 0%, 32.5%)
CIE-LABlab(35.70, 53.39, -53.96)
CIE-LCHlch(35.70, 75.91, 314.69°)
OKLaboklab(46.95% 0.1147 -0.1533)
OKLCHoklch(46.95% 0.191 306.8)
XYZxyz(16.0295, 8.8547, 39.8864)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772EAC #63AC2E
analogous
#382EAC #772EAC #AC2EA2
triadic
#772EAC #AC772E #2EAC77
tetradic
#772EAC #AC382E #63AC2E #2EA2AC
square
#772EAC #AC382E #63AC2E #2EA2AC
split-complementary
#772EAC #A2AC2E #2EAC38
monochromatic
#34144B #56217C #772EAC #9649CE #B279DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##772EAC#FFFFFF#000000##FFFFFF
##772EAC1.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)
#0052B0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#6E4C6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #772eac;
/* rgb */ color: rgb(119, 46, 172);
/* oklch */ color: oklch(47.0% 0.191 306.8);
Tailwind
colors: {
  custom: {
    50: '#a36ec6',
    500: '#772eac',
    950: '#000000',
  },
}
SCSS
$custom: #772eac;
$custom-light: #a36ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#772eac",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 274.762,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.19142,
    "h": 306.8
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#772EAC
secondary
#94C372
accent
#E14788
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #772EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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