#7B4CD0#7B4CD0
#7B4CD0 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.194 H 295.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4CD0 |
|---|---|
| RGB | rgb(123, 76, 208) |
| HSL | hsl(261, 58%, 56%) |
| HSV | hsv(261, 63%, 82%) |
| CMYK | cmyk(40.9%, 63.5%, 0%, 18.4%) |
| CIE-LAB | lab(44.14, 48.41, -61.36) |
| CIE-LCH | lch(44.14, 78.15, 308.27°) |
| OKLab | oklab(53.93% 0.0836 -0.175) |
| OKLCH | oklch(53.93% 0.194 295.5) |
| XYZ | xyz(22.1350, 13.9334, 61.1855) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.61
Light Indigo
#6D5ACF
ΔE00 4.71
Bluish Purple
#703BE7
ΔE00 4.84
Slate Blue
#6A5ACD
ΔE00 5.08
Bluey Purple
#6241C7
ΔE00 5.27
Blueviolet
#8A2BE2
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4CD0 #A1D04C
analogous
#4C5FD0 #7B4CD0 #BD4CD0
triadic
#7B4CD0 #D07B4C #4CD07B
tetradic
#7B4CD0 #D04C5F #A1D04C #4CD0BD
square
#7B4CD0 #D04C5F #A1D04C #4CD0BD
split-complementary
#7B4CD0 #D0BD4C #5FD04C
monochromatic
#432280 #5D2EB0 #7B4CD0 #9F7CDD #C2ADE9
Accessibility & contrast
On white
5.55
#7B4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#7B4CD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4CD0
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4CD0 | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#656A87
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7b4cd0; /* rgb */ color: rgb(123, 76, 208); /* oklch */ color: oklch(53.9% 0.194 295.5);
Tailwind
colors: {
custom: {
50: '#a781df',
500: '#7b4cd0',
950: '#000000',
},
}SCSS
$custom: #7b4cd0; $custom-light: #a781df; $custom-dark: #000000;
JSON
{
"hex": "#7b4cd0",
"rgb": {
"r": 123,
"g": 76,
"b": 208
},
"hsl": {
"h": 261.364,
"s": 58.407,
"l": 55.686
},
"oklch": {
"l": 0.5393,
"c": 0.19396,
"h": 295.5
},
"luminance": 0.13934
}Semantic roles & 50–950 ramp
primary
#7B4CD0
secondary
#C4D7A0
accent
#E246AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83