#7B60AB#7B60AB
#7B60AB is a mid, moderate violet. Relative luminance 0.155; OKLCH L 54.8% C 0.116 H 299.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7B60AB |
|---|---|
| RGB | rgb(123, 96, 171) |
| HSL | hsl(262, 31%, 52%) |
| HSV | hsv(262, 44%, 67%) |
| CMYK | cmyk(28.1%, 43.9%, 0%, 32.9%) |
| CIE-LAB | lab(46.33, 27.22, -36.33) |
| CIE-LCH | lch(46.33, 45.40, 306.84°) |
| OKLab | oklab(54.83% 0.0567 -0.1017) |
| OKLCH | oklch(54.83% 0.116 299.1) |
| XYZ | xyz(19.7002, 15.5168, 40.4773) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.33
Royal Purple
#7851A9
ΔE00 4.75
Dark Lavender
#856798
ΔE00 6.95
Amethyst
#9B5FC0
ΔE00 7.30
Deep Lilac
#966EBD
ΔE00 7.38
Light Indigo
#6D5ACF
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B60AB #90AB60
analogous
#606BAB #7B60AB #A060AB
triadic
#7B60AB #AB7B60 #60AB7B
tetradic
#7B60AB #AB606B #90AB60 #60ABA0
square
#7B60AB #AB606B #90AB60 #60ABA0
split-complementary
#7B60AB #ABA060 #6BAB60
monochromatic
#42325F #5E4787 #7B60AB #9C88C0 #BDB0D5
Accessibility & contrast
On white
5.12
#7B60AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#7B60AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B60AB
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B60AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B60AB | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B6EAE
Deuteranopia (green-blind)
#506DA9
Tritanopia (blue-blind)
#726D7D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7b60ab; /* rgb */ color: rgb(123, 96, 171); /* oklch */ color: oklch(54.8% 0.116 299.1);
Tailwind
colors: {
custom: {
50: '#a38dc4',
500: '#7b60ab',
950: '#000000',
},
}SCSS
$custom: #7b60ab; $custom-light: #a38dc4; $custom-dark: #000000;
JSON
{
"hex": "#7b60ab",
"rgb": {
"r": 123,
"g": 96,
"b": 171
},
"hsl": {
"h": 261.6,
"s": 30.864,
"l": 52.353
},
"oklch": {
"l": 0.54833,
"c": 0.11641,
"h": 299.1
},
"luminance": 0.15517
}Semantic roles & 50–950 ramp
primary
#7B60AB
secondary
#B8C4A3
accent
#C761A2
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82