#7646AA#7646AA
#7646AA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.8% C 0.156 H 303.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7646AA |
|---|---|
| RGB | rgb(118, 70, 170) |
| HSL | hsl(269, 42%, 47%) |
| HSV | hsv(269, 59%, 67%) |
| CMYK | cmyk(30.6%, 58.8%, 0%, 33.3%) |
| CIE-LAB | lab(39.81, 40.70, -46.16) |
| CIE-LCH | lch(39.81, 61.54, 311.41°) |
| OKLab | oklab(49.84% 0.0858 -0.1305) |
| OKLCH | oklch(49.84% 0.156 303.3) |
| XYZ | xyz(16.9154, 11.1342, 39.2804) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.14
Rebeccapurple
#663399
ΔE00 5.83
Bluey Purple
#6241C7
ΔE00 6.54
Purply
#983FB2
ΔE00 6.71
Darkorchid
#9932CC
ΔE00 7.74
Ocean Blue
#4F42B5
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7646AA #7AAA46
analogous
#4648AA #7646AA #A846AA
triadic
#7646AA #AA7646 #46AA76
tetradic
#7646AA #AA4648 #7AAA46 #46AAA8
square
#7646AA #AA4648 #7AAA46 #46AAA8
split-complementary
#7646AA #AAA846 #48AA46
monochromatic
#3A2253 #58347F #7646AA #956BC2 #B496D4
Accessibility & contrast
On white
6.51
#7646AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#7646AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7646AA
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7646AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7646AA | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195DAD
Deuteranopia (green-blind)
#2E5EA8
Tritanopia (blue-blind)
#6C5A71
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7646aa; /* rgb */ color: rgb(118, 70, 170); /* oklch */ color: oklch(49.8% 0.156 303.3);
Tailwind
colors: {
custom: {
50: '#a17bc4',
500: '#7646aa',
950: '#000000',
},
}SCSS
$custom: #7646aa; $custom-light: #a17bc4; $custom-dark: #000000;
JSON
{
"hex": "#7646aa",
"rgb": {
"r": 118,
"g": 70,
"b": 170
},
"hsl": {
"h": 268.8,
"s": 41.667,
"l": 47.059
},
"oklch": {
"l": 0.49838,
"c": 0.15619,
"h": 303.3
},
"luminance": 0.11134
}Semantic roles & 50–950 ramp
primary
#7646AA
secondary
#A7C08C
accent
#D15696
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82