#772BA9#772BA9

#772BA9 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.192 H 308.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#772BA9
RGBrgb(119, 43, 169)
HSLhsl(276, 59%, 42%)
HSVhsv(276, 75%, 66%)
CMYKcmyk(29.6%, 74.6%, 0%, 33.7%)
CIE-LABlab(35.03, 53.98, -53.25)
CIE-LCHlch(35.03, 75.82, 315.39°)
OKLaboklab(46.41% 0.1181 -0.1512)
OKLCHoklch(46.41% 0.192 308)
XYZxyz(15.6316, 8.5145, 38.3484)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772BA9 #5DA92B
analogous
#382BA9 #772BA9 #A92B9C
triadic
#772BA9 #A9772B #2BA977
tetradic
#772BA9 #A9382B #5DA92B #2B9CA9
square
#772BA9 #A9382B #5DA92B #2B9CA9
split-complementary
#772BA9 #9CA92B #2BA938
monochromatic
#321247 #551F78 #772BA9 #9742CF #B273DB

Accessibility & contrast

On white

7.77
#772BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772BA9
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772BA9#FFFFFF#000000##FFFFFF
##772BA91.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772ba9;
/* rgb */ color: rgb(119, 43, 169);
/* oklch */ color: oklch(46.4% 0.192 308.0);
Tailwind
colors: {
  custom: {
    50: '#a36cc3',
    500: '#772ba9',
    950: '#000000',
  },
}
SCSS
$custom: #772ba9;
$custom-light: #a36cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#772ba9",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 276.19,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.19185,
    "h": 308
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#772BA9
secondary
#8FC36D
accent
#E34584
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #772BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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