#7A5BD6#7A5BD6
#7A5BD6 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.6% C 0.181 H 291.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5BD6 |
|---|---|
| RGB | rgb(122, 91, 214) |
| HSL | hsl(255, 60%, 60%) |
| HSV | hsv(255, 57%, 84%) |
| CMYK | cmyk(43%, 57.5%, 0%, 16.1%) |
| CIE-LAB | lab(47.59, 41.50, -59.22) |
| CIE-LCH | lch(47.59, 72.31, 305.02°) |
| OKLab | oklab(56.56% 0.0652 -0.1687) |
| OKLCH | oklch(56.56% 0.181 291.1) |
| XYZ | xyz(23.9014, 16.4740, 65.5258) |
| Luminance | 0.1648 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.59
Purpley
#8756E4
ΔE00 3.12
Slate Blue
#6A5ACD
ΔE00 3.20
Dark Periwinkle
#665FD1
ΔE00 4.09
Iris
#6258C4
ΔE00 5.11
Mediumslateblue
#7B68EE
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5BD6 #B7D65B
analogous
#5B7AD6 #7A5BD6 #B85BD6
triadic
#7A5BD6 #D67A5B #5BD67A
tetradic
#7A5BD6 #D65B7A #B7D65B #5BD6B8
square
#7A5BD6 #D65B7A #B7D65B #5BD6B8
split-complementary
#7A5BD6 #D6B85B #7AD65B
monochromatic
#402592 #5631C3 #7A5BD6 #A28CE2 #C9BDEE
Accessibility & contrast
On white
4.89
#7A5BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#7A5BD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5BD6
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5BD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5BD6 | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0773DA
Deuteranopia (green-blind)
#166ED3
Tritanopia (blue-blind)
#607690
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7a5bd6; /* rgb */ color: rgb(122, 91, 214); /* oklch */ color: oklch(56.6% 0.181 291.1);
Tailwind
colors: {
custom: {
50: '#a68ae3',
500: '#7a5bd6',
950: '#000000',
},
}SCSS
$custom: #7a5bd6; $custom-light: #a68ae3; $custom-dark: #000000;
JSON
{
"hex": "#7a5bd6",
"rgb": {
"r": 122,
"g": 91,
"b": 214
},
"hsl": {
"h": 255.122,
"s": 60,
"l": 59.804
},
"oklch": {
"l": 0.56557,
"c": 0.18087,
"h": 291.1
},
"luminance": 0.16475
}Semantic roles & 50–950 ramp
primary
#7A5BD6
secondary
#D2DEAF
accent
#E345BB
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84