#7A5BCA#7A5BCA
#7A5BCA is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.7% C 0.165 H 293.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5BCA |
|---|---|
| RGB | rgb(122, 91, 202) |
| HSL | hsl(257, 51%, 57%) |
| HSV | hsv(257, 55%, 79%) |
| CMYK | cmyk(39.6%, 55%, 0%, 20.8%) |
| CIE-LAB | lab(46.82, 38.18, -53.58) |
| CIE-LCH | lch(46.82, 65.79, 305.47°) |
| OKLab | oklab(55.74% 0.0651 -0.1522) |
| OKLCH | oklch(55.74% 0.165 293.1) |
| XYZ | xyz(22.4250, 15.8835, 57.7500) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.76
Slate Blue
#6A5ACD
ΔE00 3.23
Purpley
#8756E4
ΔE00 4.39
Dark Periwinkle
#665FD1
ΔE00 4.48
Iris
#6258C4
ΔE00 4.70
Deep Lavender
#8D5EB7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5BCA #ABCA5B
analogous
#5B73CA #7A5BCA #B25BCA
triadic
#7A5BCA #CA7A5B #5BCA7A
tetradic
#7A5BCA #CA5B73 #ABCA5B #5BCAB2
square
#7A5BCA #CA5B73 #ABCA5B #5BCAB2
split-complementary
#7A5BCA #CAB25B #73CA5B
monochromatic
#422A81 #5A39AF #7A5BCA #A089D9 #C5B8E8
Accessibility & contrast
On white
5.03
#7A5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#7A5BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5BCA
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5BCA | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2570CE
Deuteranopia (green-blind)
#2E6DC8
Tritanopia (blue-blind)
#65728A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7a5bca; /* rgb */ color: rgb(122, 91, 202); /* oklch */ color: oklch(55.7% 0.165 293.1);
Tailwind
colors: {
custom: {
50: '#a58adb',
500: '#7a5bca',
950: '#000000',
},
}SCSS
$custom: #7a5bca; $custom-light: #a58adb; $custom-dark: #000000;
JSON
{
"hex": "#7a5bca",
"rgb": {
"r": 122,
"g": 91,
"b": 202
},
"hsl": {
"h": 256.757,
"s": 51.152,
"l": 57.451
},
"oklch": {
"l": 0.55743,
"c": 0.16549,
"h": 293.1
},
"luminance": 0.15884
}Semantic roles & 50–950 ramp
primary
#7A5BCA
secondary
#CAD7AA
accent
#DB4DB3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83