#7C46BE#7C46BE
#7C46BE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.9% C 0.181 H 301.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7C46BE |
|---|---|
| RGB | rgb(124, 70, 190) |
| HSL | hsl(267, 48%, 51%) |
| HSV | hsv(267, 63%, 75%) |
| CMYK | cmyk(34.7%, 63.2%, 0%, 25.5%) |
| CIE-LAB | lab(41.82, 47.16, -54.67) |
| CIE-LCH | lch(41.82, 72.19, 310.78°) |
| OKLab | oklab(51.88% 0.0932 -0.1553) |
| OKLCH | oklch(51.88% 0.181 301) |
| XYZ | xyz(19.7944, 12.3830, 50.0525) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.70
Bluey Purple
#6241C7
ΔE00 5.20
Darkorchid
#9932CC
ΔE00 5.73
Blueviolet
#8A2BE2
ΔE00 6.16
Bluish Purple
#703BE7
ΔE00 6.36
Purply
#983FB2
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C46BE #88BE46
analogous
#464CBE #7C46BE #B846BE
triadic
#7C46BE #BE7C46 #46BE7C
tetradic
#7C46BE #BE464C #88BE46 #46BEB8
square
#7C46BE #BE464C #88BE46 #46BEB8
split-complementary
#7C46BE #BEB846 #4CBE46
monochromatic
#412466 #5F3493 #7C46BE #9C73CE #BCA1DE
Accessibility & contrast
On white
6.04
#7C46BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#7C46BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C46BE
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C46BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C46BE | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#1862BB
Tritanopia (blue-blind)
#6E607B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7c46be; /* rgb */ color: rgb(124, 70, 190); /* oklch */ color: oklch(51.9% 0.181 301.0);
Tailwind
colors: {
custom: {
50: '#a67cd2',
500: '#7c46be',
950: '#000000',
},
}SCSS
$custom: #7c46be; $custom-light: #a67cd2; $custom-dark: #000000;
JSON
{
"hex": "#7c46be",
"rgb": {
"r": 124,
"g": 70,
"b": 190
},
"hsl": {
"h": 267,
"s": 48,
"l": 50.98
},
"oklch": {
"l": 0.5188,
"c": 0.1811,
"h": 301
},
"luminance": 0.12383
}Semantic roles & 50–950 ramp
primary
#7C46BE
secondary
#B3CA95
accent
#D8509B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83