#772CA6#772CA6

#772CA6 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.188 H 308.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#772CA6
RGBrgb(119, 44, 166)
HSLhsl(277, 58%, 41%)
HSVhsv(277, 73%, 65%)
CMYKcmyk(28.3%, 73.5%, 0%, 34.9%)
CIE-LABlab(34.96, 52.88, -51.58)
CIE-LCHlch(34.96, 73.87, 315.72°)
OKLaboklab(46.29% 0.1177 -0.1462)
OKLCHoklch(46.29% 0.188 308.8)
XYZxyz(15.3900, 8.4767, 36.8944)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CA6 #5BA62C
analogous
#3A2CA6 #772CA6 #A62C98
triadic
#772CA6 #A6772C #2CA677
tetradic
#772CA6 #A63A2C #5BA62C #2C98A6
square
#772CA6 #A63A2C #5BA62C #2C98A6
split-complementary
#772CA6 #98A62C #2CA63A
monochromatic
#321245 #541F76 #772CA6 #9842CD #B273DA

Accessibility & contrast

On white

7.79
#772CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#772CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CA6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CA6#FFFFFF#000000##FFFFFF
##772CA61.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0853A3
Tritanopia (blue-blind)
#704866
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #772ca6;
/* rgb */ color: rgb(119, 44, 166);
/* oklch */ color: oklch(46.3% 0.188 308.8);
Tailwind
colors: {
  custom: {
    50: '#a36cc1',
    500: '#772ca6',
    950: '#000000',
  },
}
SCSS
$custom: #772ca6;
$custom-light: #a36cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#772ca6",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 276.885,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46285,
    "c": 0.18771,
    "h": 308.8
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#772CA6
secondary
#8DC16D
accent
#E14682
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #772CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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