#772BA3#772BA3
#772BA3 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.186 H 309.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #772BA3 |
|---|---|
| RGB | rgb(119, 43, 163) |
| HSL | hsl(278, 58%, 40%) |
| HSV | hsv(278, 74%, 64%) |
| CMYK | cmyk(27%, 73.6%, 0%, 36.1%) |
| CIE-LAB | lab(34.59, 52.63, -50.37) |
| CIE-LCH | lch(34.59, 72.85, 316.26°) |
| OKLab | oklab(45.96% 0.1192 -0.1427) |
| OKLCH | oklch(45.96% 0.186 309.9) |
| XYZ | xyz(15.0812, 8.2943, 35.4497) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.61
Rebeccapurple
#663399
ΔE00 3.53
Darkmagenta
#8B008B
ΔE00 7.21
Darkviolet
#9400D3
ΔE00 7.52
Purple
#800080
ΔE00 7.98
Purply
#983FB2
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#772BA3 #57A32B
analogous
#3B2BA3 #772BA3 #A32B93
triadic
#772BA3 #A3772B #2BA377
tetradic
#772BA3 #A33B2B #57A32B #2B93A3
square
#772BA3 #A33B2B #57A32B #2B93A3
split-complementary
#772BA3 #93A32B #2BA33B
monochromatic
#301142 #541E73 #772BA3 #983FCC #B26FD9
Accessibility & contrast
On white
7.90
#772BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#772BA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #772BA3
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##772BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##772BA3 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#1052A0
Tritanopia (blue-blind)
#714665
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #772ba3; /* rgb */ color: rgb(119, 43, 163); /* oklch */ color: oklch(46.0% 0.186 309.9);
Tailwind
colors: {
custom: {
50: '#a36cbf',
500: '#772ba3',
950: '#000000',
},
}SCSS
$custom: #772ba3; $custom-light: #a36cbf; $custom-dark: #000000;
JSON
{
"hex": "#772ba3",
"rgb": {
"r": 119,
"g": 43,
"b": 163
},
"hsl": {
"h": 278,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.45955,
"c": 0.1859,
"h": 309.9
},
"luminance": 0.08294
}Semantic roles & 50–950 ramp
primary
#772BA3
secondary
#89C06A
accent
#E1467F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81