#7E6ABC#7E6ABC
#7E6ABC is a mid, vivid violet. Relative luminance 0.184; OKLCH L 57.9% C 0.124 H 293.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6ABC |
|---|---|
| RGB | rgb(126, 106, 188) |
| HSL | hsl(255, 38%, 58%) |
| HSV | hsv(255, 44%, 74%) |
| CMYK | cmyk(33%, 43.6%, 0%, 26.3%) |
| CIE-LAB | lab(49.95, 26.57, -40.51) |
| CIE-LCH | lch(49.95, 48.44, 303.26°) |
| OKLab | oklab(57.91% 0.0492 -0.1138) |
| OKLCH | oklch(57.91% 0.124 293.4) |
| XYZ | xyz(22.8330, 18.3741, 49.9108) |
| Luminance | 0.1837 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 5.66
Deep Lilac
#966EBD
ΔE00 5.79
Mediumpurple
#9370DB
ΔE00 6.32
Light Indigo
#6D5ACF
ΔE00 7.17
Dark Periwinkle
#665FD1
ΔE00 7.28
Slate Blue
#6A5ACD
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6ABC #A8BC6A
analogous
#6A7FBC #7E6ABC #A76ABC
triadic
#7E6ABC #BC7E6A #6ABC7E
tetradic
#7E6ABC #BC6A7F #A8BC6A #6ABCA7
square
#7E6ABC #BC6A7F #A8BC6A #6ABCA7
split-complementary
#7E6ABC #BCA76A #7FBC6A
monochromatic
#453576 #5E48A1 #7E6ABC #A394CF #C7BEE2
Accessibility & contrast
On white
4.49
#7E6ABC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#7E6ABC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E6ABC
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6ABC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E6ABC | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#70798A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7e6abc; /* rgb */ color: rgb(126, 106, 188); /* oklch */ color: oklch(57.9% 0.124 293.4);
Tailwind
colors: {
custom: {
50: '#a695d0',
500: '#7e6abc',
950: '#000000',
},
}SCSS
$custom: #7e6abc; $custom-light: #a695d0; $custom-dark: #000000;
JSON
{
"hex": "#7e6abc",
"rgb": {
"r": 126,
"g": 106,
"b": 188
},
"hsl": {
"h": 254.634,
"s": 37.963,
"l": 57.647
},
"oklch": {
"l": 0.57913,
"c": 0.12394,
"h": 293.4
},
"luminance": 0.18375
}Semantic roles & 50–950 ramp
primary
#7E6ABC
secondary
#C9D1B0
accent
#CE5AB2
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82