#7C46BF#7C46BF
#7C46BF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.182 H 300.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7C46BF |
|---|---|
| RGB | rgb(124, 70, 191) |
| HSL | hsl(267, 49%, 51%) |
| HSV | hsv(267, 63%, 75%) |
| CMYK | cmyk(35.1%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(41.89, 47.41, -55.14) |
| CIE-LCH | lch(41.89, 72.72, 310.69°) |
| OKLab | oklab(51.95% 0.0931 -0.1567) |
| OKLCH | oklch(51.95% 0.182 300.7) |
| XYZ | xyz(19.9040, 12.4269, 50.6301) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.82
Bluey Purple
#6241C7
ΔE00 5.13
Darkorchid
#9932CC
ΔE00 5.71
Blueviolet
#8A2BE2
ΔE00 6.05
Bluish Purple
#703BE7
ΔE00 6.22
Purply
#983FB2
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C46BF #89BF46
analogous
#464CBF #7C46BF #B846BF
triadic
#7C46BF #BF7C46 #46BF7C
tetradic
#7C46BF #BF464C #89BF46 #46BFB8
square
#7C46BF #BF464C #89BF46 #46BFB8
split-complementary
#7C46BF #BFB846 #4CBF46
monochromatic
#422467 #5F3394 #7C46BF #9C73CF #BCA1DE
Accessibility & contrast
On white
6.03
#7C46BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#7C46BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C46BF
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C46BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C46BF | 1.00 | 6.03 | 3.49 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#1662BC
Tritanopia (blue-blind)
#6E607C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7c46bf; /* rgb */ color: rgb(124, 70, 191); /* oklch */ color: oklch(52.0% 0.182 300.7);
Tailwind
colors: {
custom: {
50: '#a67cd3',
500: '#7c46bf',
950: '#000000',
},
}SCSS
$custom: #7c46bf; $custom-light: #a67cd3; $custom-dark: #000000;
JSON
{
"hex": "#7c46bf",
"rgb": {
"r": 124,
"g": 70,
"b": 191
},
"hsl": {
"h": 266.777,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.51951,
"c": 0.18227,
"h": 300.7
},
"luminance": 0.12427
}Semantic roles & 50–950 ramp
primary
#7C46BF
secondary
#B3CB96
accent
#D8509B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83