#7A6CA2#7A6CA2
#7A6CA2 is a mid, moderate violet. Relative luminance 0.175; OKLCH L 56.6% C 0.083 H 295.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7A6CA2 |
|---|---|
| RGB | rgb(122, 108, 162) |
| HSL | hsl(256, 23%, 53%) |
| HSV | hsv(256, 33%, 64%) |
| CMYK | cmyk(24.7%, 33.3%, 0%, 36.5%) |
| CIE-LAB | lab(48.85, 17.42, -27.12) |
| CIE-LCH | lch(48.85, 32.24, 302.71°) |
| OKLab | oklab(56.58% 0.0359 -0.0751) |
| OKLCH | oklch(56.58% 0.083 295.5) |
| XYZ | xyz(19.9087, 17.4711, 36.4988) |
| Luminance | 0.1747 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Lavender
#856798
ΔE00 5.03
Grey Purple
#826D8C
ΔE00 7.54
Faded Purple
#916E99
ΔE00 7.70
Deep Lilac
#966EBD
ΔE00 7.70
Greyish Purple
#887191
ΔE00 7.84
Deep Lavender
#8D5EB7
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A6CA2 #94A26C
analogous
#6C79A2 #7A6CA2 #956CA2
triadic
#7A6CA2 #A27A6C #6CA27A
tetradic
#7A6CA2 #A26C79 #94A26C #6CA295
square
#7A6CA2 #A26C79 #94A26C #6CA295
split-complementary
#7A6CA2 #A2956C #79A26C
monochromatic
#42395A #5D5180 #7A6CA2 #9C91BA #BEB7D1
Accessibility & contrast
On white
4.67
#7A6CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#7A6CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A6CA2
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A6CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A6CA2 | 1.00 | 4.67 | 4.49 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F74A4
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#727580
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7a6ca2; /* rgb */ color: rgb(122, 108, 162); /* oklch */ color: oklch(56.6% 0.083 295.5);
Tailwind
colors: {
custom: {
50: '#a196bd',
500: '#7a6ca2',
950: '#000000',
},
}SCSS
$custom: #7a6ca2; $custom-light: #a196bd; $custom-dark: #000000;
JSON
{
"hex": "#7a6ca2",
"rgb": {
"r": 122,
"g": 108,
"b": 162
},
"hsl": {
"h": 255.556,
"s": 22.5,
"l": 52.941
},
"oklch": {
"l": 0.56582,
"c": 0.08327,
"h": 295.5
},
"luminance": 0.17471
}Semantic roles & 50–950 ramp
primary
#7A6CA2
secondary
#BBC1A9
accent
#BF69A9
background
#FAF9FB
surface
#F3F2F6
border
#CDCCD0
text
#0F0D12
muted
#7F7E81