#7B4FC2#7B4FC2
#7B4FC2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.173 H 297.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FC2 |
|---|---|
| RGB | rgb(123, 79, 194) |
| HSL | hsl(263, 49%, 54%) |
| HSV | hsv(263, 59%, 76%) |
| CMYK | cmyk(36.6%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(43.80, 43.08, -53.81) |
| CIE-LCH | lch(43.80, 68.93, 308.68°) |
| OKLab | oklab(53.38% 0.081 -0.1528) |
| OKLCH | oklch(53.38% 0.173 297.9) |
| XYZ | xyz(20.6995, 13.6977, 52.5818) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.36
Light Indigo
#6D5ACF
ΔE00 4.95
Slate Blue
#6A5ACD
ΔE00 5.23
Purpley
#8756E4
ΔE00 5.80
Bluey Purple
#6241C7
ΔE00 5.84
Iris
#6258C4
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FC2 #96C24F
analogous
#4F5CC2 #7B4FC2 #B54FC2
triadic
#7B4FC2 #C27B4F #4FC27B
tetradic
#7B4FC2 #C24F5C #96C24F #4FC2B5
square
#7B4FC2 #C24F5C #96C24F #4FC2B5
split-complementary
#7B4FC2 #C2B54F #5CC24F
monochromatic
#432770 #5E379D #7B4FC2 #9D7CD2 #BFAAE2
Accessibility & contrast
On white
5.62
#7B4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#7B4FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FC2
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FC2 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0668C6
Deuteranopia (green-blind)
#2366BF
Tritanopia (blue-blind)
#6B6781
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7b4fc2; /* rgb */ color: rgb(123, 79, 194); /* oklch */ color: oklch(53.4% 0.173 297.9);
Tailwind
colors: {
custom: {
50: '#a682d5',
500: '#7b4fc2',
950: '#000000',
},
}SCSS
$custom: #7b4fc2; $custom-light: #a682d5; $custom-dark: #000000;
JSON
{
"hex": "#7b4fc2",
"rgb": {
"r": 123,
"g": 79,
"b": 194
},
"hsl": {
"h": 262.957,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.53379,
"c": 0.17295,
"h": 297.9
},
"luminance": 0.13698
}Semantic roles & 50–950 ramp
primary
#7B4FC2
secondary
#BCCF9E
accent
#D850A4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83