#7E6FAF#7E6FAF
#7E6FAF is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.2% C 0.097 H 293.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6FAF |
|---|---|
| RGB | rgb(126, 111, 175) |
| HSL | hsl(254, 29%, 56%) |
| HSV | hsv(254, 37%, 69%) |
| CMYK | cmyk(28%, 36.6%, 0%, 31.4%) |
| CIE-LAB | lab(50.57, 20.17, -32.00) |
| CIE-LCH | lch(50.57, 37.83, 302.23°) |
| OKLab | oklab(58.18% 0.0395 -0.0891) |
| OKLCH | oklch(58.18% 0.097 293.9) |
| XYZ | xyz(22.0246, 18.8993, 43.0367) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 5.96
Dark Lavender
#856798
ΔE00 6.82
Deep Lavender
#8D5EB7
ΔE00 7.30
Mediumpurple
#9370DB
ΔE00 8.43
Faded Purple
#916E99
ΔE00 8.88
Amethyst
#9B5FC0
ΔE00 9.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6FAF #A0AF6F
analogous
#6F80AF #7E6FAF #9E6FAF
triadic
#7E6FAF #AF7E6F #6FAF7E
tetradic
#7E6FAF #AF6F80 #A0AF6F #6FAF9E
square
#7E6FAF #AF6F80 #A0AF6F #6FAF9E
split-complementary
#7E6FAF #AF9E6F #80AF6F
monochromatic
#453A69 #5F5091 #7E6FAF #A196C5 #C4BEDB
Accessibility & contrast
On white
4.39
#7E6FAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#7E6FAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E6FAF
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6FAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E6FAF | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E79B2
Deuteranopia (green-blind)
#6077AD
Tritanopia (blue-blind)
#747A87
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7e6faf; /* rgb */ color: rgb(126, 111, 175); /* oklch */ color: oklch(58.2% 0.097 293.9);
Tailwind
colors: {
custom: {
50: '#a598c7',
500: '#7e6faf',
950: '#000000',
},
}SCSS
$custom: #7e6faf; $custom-light: #a598c7; $custom-dark: #000000;
JSON
{
"hex": "#7e6faf",
"rgb": {
"r": 126,
"g": 111,
"b": 175
},
"hsl": {
"h": 254.063,
"s": 28.571,
"l": 56.078
},
"oklch": {
"l": 0.58178,
"c": 0.09748,
"h": 293.9
},
"luminance": 0.189
}Semantic roles & 50–950 ramp
primary
#7E6FAF
secondary
#C4CAB0
accent
#C563AE
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0D13
muted
#7F7E82