#7B3DC3#7B3DC3
#7B3DC3 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.198 H 300.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3DC3 |
|---|---|
| RGB | rgb(123, 61, 195) |
| HSL | hsl(268, 53%, 50%) |
| HSV | hsv(268, 69%, 76%) |
| CMYK | cmyk(36.9%, 68.7%, 0%, 23.5%) |
| CIE-LAB | lab(40.39, 52.76, -59.90) |
| CIE-LCH | lch(40.39, 79.82, 311.37°) |
| OKLab | oklab(50.94% 0.1012 -0.1707) |
| OKLCH | oklch(50.94% 0.198 300.7) |
| XYZ | xyz(19.6850, 11.4884, 52.7996) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.53
Blueviolet
#8A2BE2
ΔE00 4.74
Darkorchid
#9932CC
ΔE00 5.24
Bluish Purple
#703BE7
ΔE00 5.27
Burple
#6832E3
ΔE00 5.57
Darkviolet
#9400D3
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3DC3 #85C33D
analogous
#3D42C3 #7B3DC3 #BE3DC3
triadic
#7B3DC3 #C37B3D #3DC37B
tetradic
#7B3DC3 #C33D42 #85C33D #3DC3BE
square
#7B3DC3 #C33D42 #85C33D #3DC3BE
split-complementary
#7B3DC3 #C3BE3D #42C33D
monochromatic
#402066 #5E2E95 #7B3DC3 #9B6CD1 #BB9AE0
Accessibility & contrast
On white
6.37
#7B3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#7B3DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3DC3
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3DC3 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#6B5D7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7b3dc3; /* rgb */ color: rgb(123, 61, 195); /* oklch */ color: oklch(50.9% 0.198 300.7);
Tailwind
colors: {
custom: {
50: '#a777d6',
500: '#7b3dc3',
950: '#000000',
},
}SCSS
$custom: #7b3dc3; $custom-light: #a777d6; $custom-dark: #000000;
JSON
{
"hex": "#7b3dc3",
"rgb": {
"r": 123,
"g": 61,
"b": 195
},
"hsl": {
"h": 267.761,
"s": 52.756,
"l": 50.196
},
"oklch": {
"l": 0.50939,
"c": 0.19843,
"h": 300.7
},
"luminance": 0.11489
}Semantic roles & 50–950 ramp
primary
#7B3DC3
secondary
#B0CC90
accent
#DC4C99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83