#7B3DC6#7B3DC6
#7B3DC6 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.202 H 300.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3DC6 |
|---|---|
| RGB | rgb(123, 61, 198) |
| HSL | hsl(267, 55%, 51%) |
| HSV | hsv(267, 69%, 78%) |
| CMYK | cmyk(37.9%, 69.2%, 0%, 22.4%) |
| CIE-LAB | lab(40.61, 53.50, -61.29) |
| CIE-LCH | lch(40.61, 81.36, 311.12°) |
| OKLab | oklab(51.17% 0.1008 -0.1747) |
| OKLCH | oklch(51.17% 0.202 300) |
| XYZ | xyz(20.0276, 11.6255, 54.6039) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.40
Blueviolet
#8A2BE2
ΔE00 4.42
Bluish Purple
#703BE7
ΔE00 4.84
Burple
#6832E3
ΔE00 5.23
Darkorchid
#9932CC
ΔE00 5.24
Darkviolet
#9400D3
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3DC6 #88C63D
analogous
#3D43C6 #7B3DC6 #BF3DC6
triadic
#7B3DC6 #C67B3D #3DC67B
tetradic
#7B3DC6 #C63D43 #88C63D #3DC6BF
square
#7B3DC6 #C63D43 #88C63D #3DC6BF
split-complementary
#7B3DC6 #C6BF3D #43C63D
monochromatic
#411F6A #5E2D99 #7B3DC6 #9B6CD4 #BB9CE2
Accessibility & contrast
On white
6.32
#7B3DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#7B3DC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3DC6
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3DC6 | 1.00 | 6.32 | 3.33 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#6A5E7D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7b3dc6; /* rgb */ color: rgb(123, 61, 198); /* oklch */ color: oklch(51.2% 0.202 300.0);
Tailwind
colors: {
custom: {
50: '#a777d8',
500: '#7b3dc6',
950: '#000000',
},
}SCSS
$custom: #7b3dc6; $custom-light: #a777d8; $custom-dark: #000000;
JSON
{
"hex": "#7b3dc6",
"rgb": {
"r": 123,
"g": 61,
"b": 198
},
"hsl": {
"h": 267.153,
"s": 54.582,
"l": 50.784
},
"oklch": {
"l": 0.51169,
"c": 0.20172,
"h": 300
},
"luminance": 0.11626
}Semantic roles & 50–950 ramp
primary
#7B3DC6
secondary
#B2CE91
accent
#DE4A9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83