#7726AA#7726AA
#7726AA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.198 H 308.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7726AA |
|---|---|
| RGB | rgb(119, 38, 170) |
| HSL | hsl(277, 63%, 41%) |
| HSV | hsv(277, 78%, 67%) |
| CMYK | cmyk(30%, 77.6%, 0%, 33.3%) |
| CIE-LAB | lab(34.42, 56.18, -54.85) |
| CIE-LCH | lch(34.42, 78.51, 315.68°) |
| OKLab | oklab(46% 0.1225 -0.1558) |
| OKLCH | oklch(46% 0.198 308.2) |
| XYZ | xyz(15.5550, 8.2107, 38.7878) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.13
Rebeccapurple
#663399
ΔE00 4.18
Darkviolet
#9400D3
ΔE00 6.65
Purple Blue
#5D21D0
ΔE00 7.10
Darkmagenta
#8B008B
ΔE00 7.78
Darkorchid
#9932CC
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7726AA #59AA26
analogous
#3526AA #7726AA #AA269B
triadic
#7726AA #AA7726 #26AA77
tetradic
#7726AA #AA3526 #59AA26 #269BAA
square
#7726AA #AA3526 #59AA26 #269BAA
split-complementary
#7726AA #9BAA26 #26AA35
monochromatic
#311046 #541B78 #7726AA #983AD3 #B26CDE
Accessibility & contrast
On white
7.95
#7726AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#7726AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7726AA
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7726AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7726AA | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#6F4767
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #7726aa; /* rgb */ color: rgb(119, 38, 170); /* oklch */ color: oklch(46.0% 0.198 308.2);
Tailwind
colors: {
custom: {
50: '#a36ac4',
500: '#7726aa',
950: '#000000',
},
}SCSS
$custom: #7726aa; $custom-light: #a36ac4; $custom-dark: #000000;
JSON
{
"hex": "#7726aa",
"rgb": {
"r": 119,
"g": 38,
"b": 170
},
"hsl": {
"h": 276.818,
"s": 63.462,
"l": 40.784
},
"oklch": {
"l": 0.46,
"c": 0.19822,
"h": 308.2
},
"luminance": 0.0821
}Semantic roles & 50–950 ramp
primary
#7726AA
secondary
#8BC567
accent
#E64181
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82