#7C4BB7#7C4BB7
#7C4BB7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.166 H 301.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4BB7 |
|---|---|
| RGB | rgb(124, 75, 183) |
| HSL | hsl(267, 43%, 51%) |
| HSV | hsv(267, 59%, 72%) |
| CMYK | cmyk(32.2%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(42.36, 42.69, -49.69) |
| CIE-LCH | lch(42.36, 65.51, 310.67°) |
| OKLab | oklab(52.13% 0.0874 -0.1407) |
| OKLCH | oklch(52.13% 0.166 301.9) |
| XYZ | xyz(19.3735, 12.7361, 46.2282) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.07
Bluey Purple
#6241C7
ΔE00 6.26
Purply
#983FB2
ΔE00 6.28
Darkorchid
#9932CC
ΔE00 6.64
Deep Lavender
#8D5EB7
ΔE00 6.64
Light Indigo
#6D5ACF
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4BB7 #86B74B
analogous
#4B50B7 #7C4BB7 #B24BB7
triadic
#7C4BB7 #B77C4B #4BB77C
tetradic
#7C4BB7 #B74B50 #86B74B #4BB7B2
square
#7C4BB7 #B74B50 #86B74B #4BB7B2
split-complementary
#7C4BB7 #B7B24B #50B74B
monochromatic
#412761 #5E388D #7C4BB7 #9C77C8 #BCA2DA
Accessibility & contrast
On white
5.92
#7C4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#7C4BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4BB7
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4BB7 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1563BB
Deuteranopia (green-blind)
#2D64B5
Tritanopia (blue-blind)
#70617A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7c4bb7; /* rgb */ color: rgb(124, 75, 183); /* oklch */ color: oklch(52.1% 0.166 301.9);
Tailwind
colors: {
custom: {
50: '#a67fcd',
500: '#7c4bb7',
950: '#000000',
},
}SCSS
$custom: #7c4bb7; $custom-light: #a67fcd; $custom-dark: #000000;
JSON
{
"hex": "#7c4bb7",
"rgb": {
"r": 124,
"g": 75,
"b": 183
},
"hsl": {
"h": 267.222,
"s": 42.857,
"l": 50.588
},
"oklch": {
"l": 0.52129,
"c": 0.16563,
"h": 301.9
},
"luminance": 0.12736
}Semantic roles & 50–950 ramp
primary
#7C4BB7
secondary
#B1C797
accent
#D3559A
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A13
muted
#7F7C82