#7B3ACD#7B3ACD
#7B3ACD is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.213 H 298.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3ACD |
|---|---|
| RGB | rgb(123, 58, 205) |
| HSL | hsl(267, 60%, 52%) |
| HSV | hsv(267, 72%, 80%) |
| CMYK | cmyk(40%, 71.7%, 0%, 19.6%) |
| CIE-LAB | lab(40.65, 56.65, -65.30) |
| CIE-LCH | lch(40.65, 86.45, 310.95°) |
| OKLab | oklab(51.36% 0.1025 -0.1865) |
| OKLCH | oklch(51.36% 0.213 298.8) |
| XYZ | xyz(20.6981, 11.6446, 58.9029) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.56
Bluish Purple
#703BE7
ΔE00 3.94
Burple
#6832E3
ΔE00 4.31
Bluey Purple
#6241C7
ΔE00 4.36
Darkorchid
#9932CC
ΔE00 5.28
Purpley Blue
#5F34E7
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3ACD #8CCD3A
analogous
#3A43CD #7B3ACD #C53ACD
triadic
#7B3ACD #CD7B3A #3ACD7B
tetradic
#7B3ACD #CD3A43 #8CCD3A #3ACDC5
square
#7B3ACD #CD3A43 #8CCD3A #3ACDC5
split-complementary
#7B3ACD #CDC53A #43CD3A
monochromatic
#411C70 #5E29A1 #7B3ACD #9C6BD9 #BC9CE6
Accessibility & contrast
On white
6.31
#7B3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#7B3ACD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3ACD
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3ACD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3ACD | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#675F80
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7b3acd; /* rgb */ color: rgb(123, 58, 205); /* oklch */ color: oklch(51.4% 0.213 298.8);
Tailwind
colors: {
custom: {
50: '#a876dd',
500: '#7b3acd',
950: '#000000',
},
}SCSS
$custom: #7b3acd; $custom-light: #a876dd; $custom-dark: #000000;
JSON
{
"hex": "#7b3acd",
"rgb": {
"r": 123,
"g": 58,
"b": 205
},
"hsl": {
"h": 266.531,
"s": 59.514,
"l": 51.569
},
"oklch": {
"l": 0.51359,
"c": 0.2128,
"h": 298.8
},
"luminance": 0.11645
}Semantic roles & 50–950 ramp
primary
#7B3ACD
secondary
#B5D291
accent
#E3459D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83