#7B3DB6#7B3DB6
#7B3DB6 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.184 H 304.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3DB6 |
|---|---|
| RGB | rgb(123, 61, 182) |
| HSL | hsl(271, 50%, 48%) |
| HSV | hsv(271, 66%, 71%) |
| CMYK | cmyk(32.4%, 66.5%, 0%, 28.6%) |
| CIE-LAB | lab(39.46, 49.57, -53.79) |
| CIE-LCH | lch(39.46, 73.15, 312.66°) |
| OKLab | oklab(49.97% 0.1029 -0.1527) |
| OKLCH | oklch(49.97% 0.184 304) |
| XYZ | xyz(18.2787, 10.9259, 45.3928) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.61
Royal Purple
#7851A9
ΔE00 5.66
Darkorchid
#9932CC
ΔE00 5.67
Rebeccapurple
#663399
ΔE00 5.93
Purply
#983FB2
ΔE00 6.19
Blueviolet
#8A2BE2
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3DB6 #78B63D
analogous
#3F3DB6 #7B3DB6 #B63DB4
triadic
#7B3DB6 #B67B3D #3DB67B
tetradic
#7B3DB6 #B63F3D #78B63D #3DB4B6
square
#7B3DB6 #B63F3D #78B63D #3DB4B6
split-complementary
#7B3DB6 #B4B63D #3DB63F
monochromatic
#3D1E5A #5C2E88 #7B3DB6 #9965CB #B893DB
Accessibility & contrast
On white
6.59
#7B3DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#7B3DB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3DB6
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3DB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3DB6 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#125DB3
Tritanopia (blue-blind)
#705874
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7b3db6; /* rgb */ color: rgb(123, 61, 182); /* oklch */ color: oklch(50.0% 0.184 304.0);
Tailwind
colors: {
custom: {
50: '#a677cd',
500: '#7b3db6',
950: '#000000',
},
}SCSS
$custom: #7b3db6; $custom-light: #a677cd; $custom-dark: #000000;
JSON
{
"hex": "#7b3db6",
"rgb": {
"r": 123,
"g": 61,
"b": 182
},
"hsl": {
"h": 270.744,
"s": 49.794,
"l": 47.647
},
"oklch": {
"l": 0.49974,
"c": 0.18412,
"h": 304
},
"luminance": 0.10926
}Semantic roles & 50–950 ramp
primary
#7B3DB6
secondary
#A7C689
accent
#D94E92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82