#7C4BBE#7C4BBE
#7C4BBE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.174 H 300.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4BBE |
|---|---|
| RGB | rgb(124, 75, 190) |
| HSL | hsl(266, 47%, 52%) |
| HSV | hsv(266, 61%, 75%) |
| CMYK | cmyk(34.7%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(42.82, 44.47, -53.06) |
| CIE-LCH | lch(42.82, 69.23, 309.97°) |
| OKLab | oklab(52.61% 0.0873 -0.1506) |
| OKLCH | oklch(52.61% 0.174 300.1) |
| XYZ | xyz(20.1203, 13.0348, 50.1612) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.04
Bluey Purple
#6241C7
ΔE00 5.66
Light Indigo
#6D5ACF
ΔE00 6.15
Darkorchid
#9932CC
ΔE00 6.38
Slate Blue
#6A5ACD
ΔE00 6.39
Purply
#983FB2
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4BBE #8DBE4B
analogous
#4B54BE #7C4BBE #B64BBE
triadic
#7C4BBE #BE7C4B #4BBE7C
tetradic
#7C4BBE #BE4B54 #8DBE4B #4BBEB6
square
#7C4BBE #BE4B54 #8DBE4B #4BBEB6
split-complementary
#7C4BBE #BEB64B #54BE4B
monochromatic
#422669 #5F3696 #7C4BBE #9D78CE #BDA5DE
Accessibility & contrast
On white
5.82
#7C4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#7C4BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4BBE
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4BBE | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#2364BB
Tritanopia (blue-blind)
#6E637D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7c4bbe; /* rgb */ color: rgb(124, 75, 190); /* oklch */ color: oklch(52.6% 0.174 300.1);
Tailwind
colors: {
custom: {
50: '#a67fd2',
500: '#7c4bbe',
950: '#000000',
},
}SCSS
$custom: #7c4bbe; $custom-light: #a67fd2; $custom-dark: #000000;
JSON
{
"hex": "#7c4bbe",
"rgb": {
"r": 124,
"g": 75,
"b": 190
},
"hsl": {
"h": 265.565,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.52605,
"c": 0.17403,
"h": 300.1
},
"luminance": 0.13035
}Semantic roles & 50–950 ramp
primary
#7C4BBE
secondary
#B6CC99
accent
#D7519E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83