#772CA0#772CA0
#772CA0 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.182 H 310.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #772CA0 |
|---|---|
| RGB | rgb(119, 44, 160) |
| HSL | hsl(279, 57%, 40%) |
| HSV | hsv(279, 73%, 63%) |
| CMYK | cmyk(25.6%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(34.52, 51.54, -48.66) |
| CIE-LCH | lch(34.52, 70.89, 316.65°) |
| OKLab | oklab(45.84% 0.1186 -0.1377) |
| OKLCH | oklch(45.84% 0.182 310.7) |
| XYZ | xyz(14.8524, 8.2617, 34.0632) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.45
Rebeccapurple
#663399
ΔE00 3.43
Darkmagenta
#8B008B
ΔE00 6.93
Purple
#800080
ΔE00 7.66
Darkviolet
#9400D3
ΔE00 7.92
Purply
#983FB2
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#772CA0 #55A02C
analogous
#3D2CA0 #772CA0 #A02C8F
triadic
#772CA0 #A0772C #2CA077
tetradic
#772CA0 #A03D2C #55A02C #2C8FA0
square
#772CA0 #A03D2C #55A02C #2C8FA0
split-complementary
#772CA0 #8FA02C #2CA03D
monochromatic
#301240 #531F70 #772CA0 #993FCA #B26FD7
Accessibility & contrast
On white
7.92
#772CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#772CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #772CA0
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##772CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##772CA0 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#18529D
Tritanopia (blue-blind)
#724663
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #772ca0; /* rgb */ color: rgb(119, 44, 160); /* oklch */ color: oklch(45.8% 0.182 310.7);
Tailwind
colors: {
custom: {
50: '#a26cbd',
500: '#772ca0',
950: '#000000',
},
}SCSS
$custom: #772ca0; $custom-light: #a26cbd; $custom-dark: #000000;
JSON
{
"hex": "#772ca0",
"rgb": {
"r": 119,
"g": 44,
"b": 160
},
"hsl": {
"h": 278.793,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.45839,
"c": 0.18172,
"h": 310.7
},
"luminance": 0.08261
}Semantic roles & 50–950 ramp
primary
#772CA0
secondary
#87BF69
accent
#E0487E
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81