#772CA9#772CA9

#772CA9 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.191 H 307.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#772CA9
RGBrgb(119, 44, 169)
HSLhsl(276, 59%, 42%)
HSVhsv(276, 74%, 66%)
CMYKcmyk(29.6%, 74%, 0%, 33.7%)
CIE-LABlab(35.18, 53.56, -53.02)
CIE-LCHlch(35.18, 75.36, 315.29°)
OKLaboklab(46.51% 0.1172 -0.1505)
OKLCHoklch(46.51% 0.191 307.9)
XYZxyz(15.6684, 8.5881, 38.3607)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772CA9 #5EA92C
analogous
#392CA9 #772CA9 #A92C9D
triadic
#772CA9 #A9772C #2CA977
tetradic
#772CA9 #A9392C #5EA92C #2C9DA9
square
#772CA9 #A9392C #5EA92C #2C9DA9
split-complementary
#772CA9 #9DA92C #2CA939
monochromatic
#331348 #551F78 #772CA9 #9744CE #B274DB

Accessibility & contrast

On white

7.73
#772CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#772CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772CA9
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772CA9#FFFFFF#000000##FFFFFF
##772CA91.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#6F4968
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #772ca9;
/* rgb */ color: rgb(119, 44, 169);
/* oklch */ color: oklch(46.5% 0.191 307.9);
Tailwind
colors: {
  custom: {
    50: '#a36dc3',
    500: '#772ca9',
    950: '#000000',
  },
}
SCSS
$custom: #772ca9;
$custom-light: #a36dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#772ca9",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 276,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46513,
    "c": 0.19072,
    "h": 307.9
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

primary
#772CA9
secondary
#90C36E
accent
#E24684
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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