#7A5BCD#7A5BCD
#7A5BCD is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.169 H 292.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5BCD |
|---|---|
| RGB | rgb(122, 91, 205) |
| HSL | hsl(256, 53%, 58%) |
| HSV | hsv(256, 56%, 80%) |
| CMYK | cmyk(40.5%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(47.01, 39.00, -55.00) |
| CIE-LCH | lch(47.01, 67.43, 305.34°) |
| OKLab | oklab(55.94% 0.0651 -0.1563) |
| OKLCH | oklch(55.94% 0.169 292.6) |
| XYZ | xyz(22.7836, 16.0269, 59.6389) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.58
Slate Blue
#6A5ACD
ΔE00 3.11
Purpley
#8756E4
ΔE00 4.03
Dark Periwinkle
#665FD1
ΔE00 4.30
Iris
#6258C4
ΔE00 4.74
Deep Lavender
#8D5EB7
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5BCD #AECD5B
analogous
#5B75CD #7A5BCD #B35BCD
triadic
#7A5BCD #CD7A5B #5BCD7A
tetradic
#7A5BCD #CD5B75 #AECD5B #5BCDB3
square
#7A5BCD #CD5B75 #AECD5B #5BCDB3
split-complementary
#7A5BCD #CDB35B #75CD5B
monochromatic
#422985 #5937B4 #7A5BCD #A08ADB #C6B9EA
Accessibility & contrast
On white
4.99
#7A5BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7A5BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5BCD
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5BCD | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#64738B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7a5bcd; /* rgb */ color: rgb(122, 91, 205); /* oklch */ color: oklch(55.9% 0.169 292.6);
Tailwind
colors: {
custom: {
50: '#a58add',
500: '#7a5bcd',
950: '#000000',
},
}SCSS
$custom: #7a5bcd; $custom-light: #a58add; $custom-dark: #000000;
JSON
{
"hex": "#7a5bcd",
"rgb": {
"r": 122,
"g": 91,
"b": 205
},
"hsl": {
"h": 256.316,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.55943,
"c": 0.16936,
"h": 292.6
},
"luminance": 0.16028
}Semantic roles & 50–950 ramp
primary
#7A5BCD
secondary
#CCD9AB
accent
#DD4BB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83