#772DA4#772DA4

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

Color values

HEX#772DA4
RGBrgb(119, 45, 164)
HSLhsl(277, 57%, 41%)
HSVhsv(277, 73%, 64%)
CMYKcmyk(27.4%, 72.6%, 0%, 35.7%)
CIE-LABlab(34.96, 52.01, -50.37)
CIE-LCHlch(34.96, 72.40, 315.92°)
OKLaboklab(46.24% 0.117 -0.1427)
OKLCHoklch(46.24% 0.185 309.3)
XYZxyz(15.2456, 8.4793, 35.9483)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772DA4 #5AA42D
analogous
#3B2DA4 #772DA4 #A42D95
triadic
#772DA4 #A4772D #2DA477
tetradic
#772DA4 #A43B2D #5AA42D #2D95A4
square
#772DA4 #A43B2D #5AA42D #2D95A4
split-complementary
#772DA4 #95A42D #2DA43B
monochromatic
#311344 #542074 #772DA4 #9843CB #B273D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##772DA4#FFFFFF#000000##FFFFFF
##772DA41.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)
#004FA7
Deuteranopia (green-blind)
#1153A1
Tritanopia (blue-blind)
#704866
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #772da4;
/* rgb */ color: rgb(119, 45, 164);
/* oklch */ color: oklch(46.2% 0.185 309.3);
Tailwind
colors: {
  custom: {
    50: '#a36dc0',
    500: '#772da4',
    950: '#000000',
  },
}
SCSS
$custom: #772da4;
$custom-light: #a36dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#772da4",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 277.311,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46243,
    "c": 0.18452,
    "h": 309.3
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#772DA4
secondary
#8CC06D
accent
#E04881
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #772DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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