#7B4BD2#7B4BD2
#7B4BD2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.198 H 295.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4BD2 |
|---|---|
| RGB | rgb(123, 75, 210) |
| HSL | hsl(261, 60%, 56%) |
| HSV | hsv(261, 64%, 82%) |
| CMYK | cmyk(41.4%, 64.3%, 0%, 17.6%) |
| CIE-LAB | lab(44.08, 49.47, -62.59) |
| CIE-LCH | lch(44.08, 79.78, 308.32°) |
| OKLab | oklab(53.94% 0.0845 -0.1786) |
| OKLCH | oklch(53.94% 0.198 295.3) |
| XYZ | xyz(22.3142, 13.8957, 62.4667) |
| Luminance | 0.1390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.52
Purpley
#8756E4
ΔE00 4.59
Light Indigo
#6D5ACF
ΔE00 4.87
Bluey Purple
#6241C7
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.24
Blueviolet
#8A2BE2
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4BD2 #A2D24B
analogous
#4B5ED2 #7B4BD2 #BE4BD2
triadic
#7B4BD2 #D27B4B #4BD27B
tetradic
#7B4BD2 #D24B5E #A2D24B #4BD2BE
square
#7B4BD2 #D24B5E #A2D24B #4BD2BE
split-complementary
#7B4BD2 #D2BE4B #5ED24B
monochromatic
#432182 #5D2DB3 #7B4BD2 #9F7CDE #C3ADEA
Accessibility & contrast
On white
5.56
#7B4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#7B4BD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4BD2
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4BD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4BD2 | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#646A88
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7b4bd2; /* rgb */ color: rgb(123, 75, 210); /* oklch */ color: oklch(53.9% 0.198 295.3);
Tailwind
colors: {
custom: {
50: '#a780e1',
500: '#7b4bd2',
950: '#000000',
},
}SCSS
$custom: #7b4bd2; $custom-light: #a780e1; $custom-dark: #000000;
JSON
{
"hex": "#7b4bd2",
"rgb": {
"r": 123,
"g": 75,
"b": 210
},
"hsl": {
"h": 261.333,
"s": 60,
"l": 55.882
},
"oklch": {
"l": 0.53936,
"c": 0.19762,
"h": 295.3
},
"luminance": 0.13896
}Semantic roles & 50–950 ramp
primary
#7B4BD2
secondary
#C4D8A0
accent
#E345AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83