#772AA3#772AA3
#772AA3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.187 H 310.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #772AA3 |
|---|---|
| RGB | rgb(119, 42, 163) |
| HSL | hsl(278, 59%, 40%) |
| HSV | hsv(278, 74%, 64%) |
| CMYK | cmyk(27%, 74.2%, 0%, 36.1%) |
| CIE-LAB | lab(34.44, 53.05, -50.60) |
| CIE-LCH | lch(34.44, 73.32, 316.35°) |
| OKLab | oklab(45.85% 0.1202 -0.1434) |
| OKLCH | oklch(45.85% 0.187 310) |
| XYZ | xyz(15.0453, 8.2225, 35.4378) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.51
Rebeccapurple
#663399
ΔE00 3.59
Darkmagenta
#8B008B
ΔE00 7.14
Darkviolet
#9400D3
ΔE00 7.49
Purple
#800080
ΔE00 7.90
Purple Blue
#5D21D0
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#772AA3 #56A32A
analogous
#3B2AA3 #772AA3 #A32A92
triadic
#772AA3 #A3772A #2AA377
tetradic
#772AA3 #A33B2A #56A32A #2A92A3
square
#772AA3 #A33B2A #56A32A #2A92A3
split-complementary
#772AA3 #92A32A #2AA33B
monochromatic
#301142 #531D72 #772AA3 #993DCD #B26EDA
Accessibility & contrast
On white
7.94
#772AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#772AA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #772AA3
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##772AA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##772AA3 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0D52A0
Tritanopia (blue-blind)
#714664
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #772aa3; /* rgb */ color: rgb(119, 42, 163); /* oklch */ color: oklch(45.9% 0.187 310.0);
Tailwind
colors: {
custom: {
50: '#a36bbf',
500: '#772aa3',
950: '#000000',
},
}SCSS
$custom: #772aa3; $custom-light: #a36bbf; $custom-dark: #000000;
JSON
{
"hex": "#772aa3",
"rgb": {
"r": 119,
"g": 42,
"b": 163
},
"hsl": {
"h": 278.182,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.45851,
"c": 0.18707,
"h": 310
},
"luminance": 0.08222
}Semantic roles & 50–950 ramp
primary
#772AA3
secondary
#88C068
accent
#E2467F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81