#7C6AB5#7C6AB5
#7C6AB5 is a mid, moderate violet. Relative luminance 0.179; OKLCH L 57.3% C 0.114 H 293.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7C6AB5 |
|---|---|
| RGB | rgb(124, 106, 181) |
| HSL | hsl(254, 34%, 56%) |
| HSV | hsv(254, 41%, 71%) |
| CMYK | cmyk(31.5%, 41.4%, 0%, 29%) |
| CIE-LAB | lab(49.41, 24.14, -37.32) |
| CIE-LCH | lch(49.41, 44.45, 302.90°) |
| OKLab | oklab(57.35% 0.0455 -0.1045) |
| OKLCH | oklch(57.35% 0.114 293.5) |
| XYZ | xyz(21.8046, 17.9290, 46.0189) |
| Luminance | 0.1793 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 5.88
Deep Lilac
#966EBD
ΔE00 6.05
Mediumpurple
#9370DB
ΔE00 7.50
Light Indigo
#6D5ACF
ΔE00 7.90
Amethyst
#9B5FC0
ΔE00 7.96
Dark Lavender
#856798
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C6AB5 #A3B56A
analogous
#6A7EB5 #7C6AB5 #A26AB5
triadic
#7C6AB5 #B57C6A #6AB57C
tetradic
#7C6AB5 #B56A7E #A3B56A #6AB5A2
square
#7C6AB5 #B56A7E #A3B56A #6AB5A2
split-complementary
#7C6AB5 #B5A26A #7EB56A
monochromatic
#44376E #5D4B97 #7C6AB5 #A093C9 #C4BCDE
Accessibility & contrast
On white
4.58
#7C6AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#7C6AB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C6AB5
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C6AB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C6AB5 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5476B8
Deuteranopia (green-blind)
#5674B3
Tritanopia (blue-blind)
#6F7887
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7c6ab5; /* rgb */ color: rgb(124, 106, 181); /* oklch */ color: oklch(57.3% 0.114 293.5);
Tailwind
colors: {
custom: {
50: '#a494cb',
500: '#7c6ab5',
950: '#000000',
},
}SCSS
$custom: #7c6ab5; $custom-light: #a494cb; $custom-dark: #000000;
JSON
{
"hex": "#7c6ab5",
"rgb": {
"r": 124,
"g": 106,
"b": 181
},
"hsl": {
"h": 254.4,
"s": 33.632,
"l": 56.275
},
"oklch": {
"l": 0.57346,
"c": 0.114,
"h": 293.5
},
"luminance": 0.17929
}Semantic roles & 50–950 ramp
primary
#7C6AB5
secondary
#C5CDAE
accent
#CA5EB0
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#0F0D13
muted
#7F7E82