#7A5BCC#7A5BCC
#7A5BCC is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.168 H 292.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5BCC |
|---|---|
| RGB | rgb(122, 91, 204) |
| HSL | hsl(256, 53%, 58%) |
| HSV | hsv(256, 55%, 80%) |
| CMYK | cmyk(40.2%, 55.4%, 0%, 20%) |
| CIE-LAB | lab(46.95, 38.73, -54.53) |
| CIE-LCH | lch(46.95, 66.88, 305.38°) |
| OKLab | oklab(55.88% 0.0651 -0.1549) |
| OKLCH | oklch(55.88% 0.168 292.8) |
| XYZ | xyz(22.6633, 15.9788, 59.0052) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.63
Slate Blue
#6A5ACD
ΔE00 3.14
Purpley
#8756E4
ΔE00 4.15
Dark Periwinkle
#665FD1
ΔE00 4.36
Iris
#6258C4
ΔE00 4.72
Deep Lavender
#8D5EB7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5BCC #ADCC5B
analogous
#5B74CC #7A5BCC #B25BCC
triadic
#7A5BCC #CC7A5B #5BCC7A
tetradic
#7A5BCC #CC5B74 #ADCC5B #5BCCB2
square
#7A5BCC #CC5B74 #ADCC5B #5BCCB2
split-complementary
#7A5BCC #CCB25B #74CC5B
monochromatic
#422984 #5937B2 #7A5BCC #A08ADB #C6B8E9
Accessibility & contrast
On white
5.01
#7A5BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#7A5BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5BCC
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5BCC | 1.00 | 5.01 | 4.20 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2271D0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#64738B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7a5bcc; /* rgb */ color: rgb(122, 91, 204); /* oklch */ color: oklch(55.9% 0.168 292.8);
Tailwind
colors: {
custom: {
50: '#a58adc',
500: '#7a5bcc',
950: '#000000',
},
}SCSS
$custom: #7a5bcc; $custom-light: #a58adc; $custom-dark: #000000;
JSON
{
"hex": "#7a5bcc",
"rgb": {
"r": 122,
"g": 91,
"b": 204
},
"hsl": {
"h": 256.46,
"s": 52.558,
"l": 57.843
},
"oklch": {
"l": 0.55876,
"c": 0.16807,
"h": 292.8
},
"luminance": 0.15979
}Semantic roles & 50–950 ramp
primary
#7A5BCC
secondary
#CCD8AB
accent
#DC4CB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83