#7B4CD9#7B4CD9
#7B4CD9 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.205 H 293.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4CD9 |
|---|---|
| RGB | rgb(123, 76, 217) |
| HSL | hsl(260, 65%, 57%) |
| HSV | hsv(260, 65%, 85%) |
| CMYK | cmyk(43.3%, 65%, 0%, 14.9%) |
| CIE-LAB | lab(44.79, 50.80, -65.46) |
| CIE-LCH | lch(44.79, 82.86, 307.81°) |
| OKLab | oklab(54.6% 0.0827 -0.1871) |
| OKLCH | oklch(54.6% 0.205 293.9) |
| XYZ | xyz(23.2738, 14.3890, 67.1833) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.88
Bluish Purple
#703BE7
ΔE00 4.27
Light Indigo
#6D5ACF
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 5.09
Purpleish Blue
#6140EF
ΔE00 5.26
Bluey Purple
#6241C7
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4CD9 #AAD94C
analogous
#4C64D9 #7B4CD9 #C24CD9
triadic
#7B4CD9 #D97B4C #4CD97B
tetradic
#7B4CD9 #D94C64 #AAD94C #4CD9C2
square
#7B4CD9 #D94C64 #AAD94C #4CD9C2
split-complementary
#7B4CD9 #D9C24C #64D94C
monochromatic
#431E8D #5B29BF #7B4CD9 #A07EE4 #C5B1EE
Accessibility & contrast
On white
5.42
#7B4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#7B4CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4CD9
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4CD9 | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#616D8C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7b4cd9; /* rgb */ color: rgb(123, 76, 217); /* oklch */ color: oklch(54.6% 0.205 293.9);
Tailwind
colors: {
custom: {
50: '#a881e6',
500: '#7b4cd9',
950: '#000000',
},
}SCSS
$custom: #7b4cd9; $custom-light: #a881e6; $custom-dark: #000000;
JSON
{
"hex": "#7b4cd9",
"rgb": {
"r": 123,
"g": 76,
"b": 217
},
"hsl": {
"h": 260,
"s": 64.977,
"l": 57.451
},
"oklch": {
"l": 0.54603,
"c": 0.20456,
"h": 293.9
},
"luminance": 0.1439
}Semantic roles & 50–950 ramp
primary
#7B4CD9
secondary
#CADDA4
accent
#E840B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84