#7B3CC6#7B3CC6
#7B3CC6 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.203 H 300.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3CC6 |
|---|---|
| RGB | rgb(123, 60, 198) |
| HSL | hsl(267, 55%, 51%) |
| HSV | hsv(267, 70%, 78%) |
| CMYK | cmyk(37.9%, 69.7%, 0%, 22.4%) |
| CIE-LAB | lab(40.44, 53.98, -61.57) |
| CIE-LCH | lch(40.44, 81.88, 311.25°) |
| OKLab | oklab(51.05% 0.1018 -0.1756) |
| OKLCH | oklch(51.05% 0.203 300.1) |
| XYZ | xyz(19.9748, 11.5197, 54.5863) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.35
Bluey Purple
#6241C7
ΔE00 4.43
Bluish Purple
#703BE7
ΔE00 4.85
Burple
#6832E3
ΔE00 5.16
Darkorchid
#9932CC
ΔE00 5.22
Darkviolet
#9400D3
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3CC6 #87C63C
analogous
#3C42C6 #7B3CC6 #C03CC6
triadic
#7B3CC6 #C67B3C #3CC67B
tetradic
#7B3CC6 #C63C42 #87C63C #3CC6C0
square
#7B3CC6 #C63C42 #87C63C #3CC6C0
split-complementary
#7B3CC6 #C6C03C #42C63C
monochromatic
#411F69 #5E2D98 #7B3CC6 #9B6BD4 #BB9BE2
Accessibility & contrast
On white
6.36
#7B3CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#7B3CC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3CC6
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3CC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3CC6 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#6A5D7D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7b3cc6; /* rgb */ color: rgb(123, 60, 198); /* oklch */ color: oklch(51.0% 0.203 300.1);
Tailwind
colors: {
custom: {
50: '#a777d8',
500: '#7b3cc6',
950: '#000000',
},
}SCSS
$custom: #7b3cc6; $custom-light: #a777d8; $custom-dark: #000000;
JSON
{
"hex": "#7b3cc6",
"rgb": {
"r": 123,
"g": 60,
"b": 198
},
"hsl": {
"h": 267.391,
"s": 54.762,
"l": 50.588
},
"oklch": {
"l": 0.51046,
"c": 0.20292,
"h": 300.1
},
"luminance": 0.1152
}Semantic roles & 50–950 ramp
primary
#7B3CC6
secondary
#B2CE90
accent
#DE4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83