#7B3DB7#7B3DB7
#7B3DB7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.185 H 303.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3DB7 |
|---|---|
| RGB | rgb(123, 61, 183) |
| HSL | hsl(270, 50%, 48%) |
| HSV | hsv(270, 67%, 72%) |
| CMYK | cmyk(32.8%, 66.7%, 0%, 28.2%) |
| CIE-LAB | lab(39.53, 49.82, -54.27) |
| CIE-LCH | lch(39.53, 73.67, 312.55°) |
| OKLab | oklab(50.05% 0.1028 -0.1541) |
| OKLCH | oklch(50.05% 0.185 303.7) |
| XYZ | xyz(18.3824, 10.9674, 45.9390) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.50
Darkorchid
#9932CC
ΔE00 5.62
Royal Purple
#7851A9
ΔE00 5.72
Rebeccapurple
#663399
ΔE00 6.04
Blueviolet
#8A2BE2
ΔE00 6.22
Purply
#983FB2
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3DB7 #79B73D
analogous
#3E3DB7 #7B3DB7 #B73DB6
triadic
#7B3DB7 #B77B3D #3DB77B
tetradic
#7B3DB7 #B73E3D #79B73D #3DB6B7
square
#7B3DB7 #B73E3D #79B73D #3DB6B7
split-complementary
#7B3DB7 #B6B73D #3DB73E
monochromatic
#3D1E5B #5C2E89 #7B3DB7 #9965CC #B893DB
Accessibility & contrast
On white
6.58
#7B3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#7B3DB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3DB7
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3DB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3DB7 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0F5DB4
Tritanopia (blue-blind)
#6F5875
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7b3db7; /* rgb */ color: rgb(123, 61, 183); /* oklch */ color: oklch(50.0% 0.185 303.7);
Tailwind
colors: {
custom: {
50: '#a677cd',
500: '#7b3db7',
950: '#000000',
},
}SCSS
$custom: #7b3db7; $custom-light: #a677cd; $custom-dark: #000000;
JSON
{
"hex": "#7b3db7",
"rgb": {
"r": 123,
"g": 61,
"b": 183
},
"hsl": {
"h": 270.492,
"s": 50,
"l": 47.843
},
"oklch": {
"l": 0.50046,
"c": 0.18523,
"h": 303.7
},
"luminance": 0.10967
}Semantic roles & 50–950 ramp
primary
#7B3DB7
secondary
#A7C689
accent
#DA4E93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82