#772CA3#772CA3
#772CA3 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.185 H 309.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #772CA3 |
|---|---|
| RGB | rgb(119, 44, 163) |
| HSL | hsl(278, 57%, 41%) |
| HSV | hsv(278, 73%, 64%) |
| CMYK | cmyk(27%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(34.74, 52.21, -50.13) |
| CIE-LCH | lch(34.74, 72.38, 316.17°) |
| OKLab | oklab(46.06% 0.1182 -0.142) |
| OKLCH | oklch(46.06% 0.185 309.8) |
| XYZ | xyz(15.1180, 8.3680, 35.4620) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.72
Rebeccapurple
#663399
ΔE00 3.47
Darkmagenta
#8B008B
ΔE00 7.29
Darkviolet
#9400D3
ΔE00 7.54
Purply
#983FB2
ΔE00 8.02
Purple
#800080
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#772CA3 #58A32C
analogous
#3B2CA3 #772CA3 #A32C93
triadic
#772CA3 #A3772C #2CA377
tetradic
#772CA3 #A33B2C #58A32C #2C93A3
square
#772CA3 #A33B2C #58A32C #2C93A3
split-complementary
#772CA3 #93A32C #2CA33B
monochromatic
#311243 #541F73 #772CA3 #9841CC #B271D9
Accessibility & contrast
On white
7.85
#772CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#772CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #772CA3
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##772CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##772CA3 | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#1253A0
Tritanopia (blue-blind)
#714765
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #772ca3; /* rgb */ color: rgb(119, 44, 163); /* oklch */ color: oklch(46.1% 0.185 309.8);
Tailwind
colors: {
custom: {
50: '#a26cbf',
500: '#772ca3',
950: '#000000',
},
}SCSS
$custom: #772ca3; $custom-light: #a26cbf; $custom-dark: #000000;
JSON
{
"hex": "#772ca3",
"rgb": {
"r": 119,
"g": 44,
"b": 163
},
"hsl": {
"h": 277.815,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.46061,
"c": 0.18472,
"h": 309.8
},
"luminance": 0.08368
}Semantic roles & 50–950 ramp
primary
#772CA3
secondary
#8AC06B
accent
#E14780
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81