#772B9F#772B9F
#772B9F is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.182 H 311.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #772B9F |
|---|---|
| RGB | rgb(119, 43, 159) |
| HSL | hsl(279, 57%, 40%) |
| HSV | hsv(279, 73%, 62%) |
| CMYK | cmyk(25.2%, 73%, 0%, 37.6%) |
| CIE-LAB | lab(34.30, 51.75, -48.42) |
| CIE-LCH | lch(34.30, 70.87, 316.91°) |
| OKLab | oklab(45.66% 0.1198 -0.137) |
| OKLCH | oklch(45.66% 0.182 311.2) |
| XYZ | xyz(14.7284, 8.1533, 33.5920) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.25
Rebeccapurple
#663399
ΔE00 3.49
Darkmagenta
#8B008B
ΔE00 6.74
Purple
#800080
ΔE00 7.43
Darkviolet
#9400D3
ΔE00 8.02
Warm Purple
#952E8F
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#772B9F #539F2B
analogous
#3D2B9F #772B9F #9F2B8D
triadic
#772B9F #9F772B #2B9F77
tetradic
#772B9F #9F3D2B #539F2B #2B8D9F
square
#772B9F #9F3D2B #539F2B #2B8D9F
split-complementary
#772B9F #8D9F2B #2B9F3D
monochromatic
#2F113F #531E6F #772B9F #9A3DCA #B36DD7
Accessibility & contrast
On white
7.98
#772B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#772B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #772B9F
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##772B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##772B9F | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#19529C
Tritanopia (blue-blind)
#724562
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #772b9f; /* rgb */ color: rgb(119, 43, 159); /* oklch */ color: oklch(45.7% 0.182 311.2);
Tailwind
colors: {
custom: {
50: '#a26cbc',
500: '#772b9f',
950: '#000000',
},
}SCSS
$custom: #772b9f; $custom-light: #a26cbc; $custom-dark: #000000;
JSON
{
"hex": "#772b9f",
"rgb": {
"r": 119,
"g": 43,
"b": 159
},
"hsl": {
"h": 279.31,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.45659,
"c": 0.18194,
"h": 311.2
},
"luminance": 0.08153
}Semantic roles & 50–950 ramp
primary
#772B9F
secondary
#85BE67
accent
#E1477C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81