#7E6BCD#7E6BCD
#7E6BCD is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.1% C 0.146 H 290.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6BCD |
|---|---|
| RGB | rgb(126, 107, 205) |
| HSL | hsl(252, 49%, 61%) |
| HSV | hsv(252, 48%, 80%) |
| CMYK | cmyk(38.5%, 47.8%, 0%, 19.6%) |
| CIE-LAB | lab(51.10, 30.60, -48.43) |
| CIE-LCH | lch(51.10, 57.29, 302.29°) |
| OKLab | oklab(59.08% 0.0502 -0.1369) |
| OKLCH | oklch(59.08% 0.146 290.1) |
| XYZ | xyz(24.8783, 19.3581, 60.1715) |
| Luminance | 0.1936 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.69
Mediumslateblue
#7B68EE
ΔE00 5.10
Dark Periwinkle
#665FD1
ΔE00 5.90
Light Indigo
#6D5ACF
ΔE00 6.13
Slate Blue
#6A5ACD
ΔE00 6.41
Purpley
#8756E4
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6BCD #BACD6B
analogous
#6B89CD #7E6BCD #AF6BCD
triadic
#7E6BCD #CD7E6B #6BCD7E
tetradic
#7E6BCD #CD6B89 #BACD6B #6BCDAF
square
#7E6BCD #CD6B89 #BACD6B #6BCDAF
split-complementary
#7E6BCD #CDAF6B #89CD6B
monochromatic
#42308E #573FBB #7E6BCD #A699DC #CEC6EC
Accessibility & contrast
On white
4.31
#7E6BCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#7E6BCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E6BCD
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6BCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E6BCD | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#697F92
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e6bcd; /* rgb */ color: rgb(126, 107, 205); /* oklch */ color: oklch(59.1% 0.146 290.1);
Tailwind
colors: {
custom: {
50: '#a795dd',
500: '#7e6bcd',
950: '#000000',
},
}SCSS
$custom: #7e6bcd; $custom-light: #a795dd; $custom-dark: #000000;
JSON
{
"hex": "#7e6bcd",
"rgb": {
"r": 126,
"g": 107,
"b": 205
},
"hsl": {
"h": 251.633,
"s": 49.495,
"l": 61.176
},
"oklch": {
"l": 0.59081,
"c": 0.14581,
"h": 290.1
},
"luminance": 0.19359
}Semantic roles & 50–950 ramp
primary
#7E6BCD
secondary
#D5DCB8
accent
#BD29A0
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83