#7046C3#7046C3
#7046C3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.186 H 294.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7046C3 |
|---|---|
| RGB | rgb(112, 70, 195) |
| HSL | hsl(260, 51%, 52%) |
| HSV | hsv(260, 64%, 76%) |
| CMYK | cmyk(42.6%, 64.1%, 0%, 23.5%) |
| CIE-LAB | lab(40.84, 45.91, -59.23) |
| CIE-LCH | lch(40.84, 74.94, 307.78°) |
| OKLab | oklab(50.98% 0.0764 -0.1691) |
| OKLCH | oklch(50.98% 0.186 294.3) |
| XYZ | xyz(18.7199, 11.7647, 52.9037) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.80
Bluish Purple
#703BE7
ΔE00 5.02
Blue With A Hint Of Purple
#533CC6
ΔE00 5.29
Blurple
#5539CC
ΔE00 5.39
Burple
#6832E3
ΔE00 5.61
Royal Purple
#7851A9
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7046C3 #99C346
analogous
#465BC3 #7046C3 #AF46C3
triadic
#7046C3 #C37046 #46C370
tetradic
#7046C3 #C3465B #99C346 #46C3AF
square
#7046C3 #C3465B #99C346 #46C3AF
split-complementary
#7046C3 #C3AF46 #5BC346
monochromatic
#3B236C #55329A #7046C3 #9474D2 #B7A2E1
Accessibility & contrast
On white
6.26
#7046C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#7046C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7046C3
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7046C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7046C3 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#5A637E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7046c3; /* rgb */ color: rgb(112, 70, 195); /* oklch */ color: oklch(51.0% 0.186 294.3);
Tailwind
colors: {
custom: {
50: '#9f7cd6',
500: '#7046c3',
950: '#000000',
},
}SCSS
$custom: #7046c3; $custom-light: #9f7cd6; $custom-dark: #000000;
JSON
{
"hex": "#7046c3",
"rgb": {
"r": 112,
"g": 70,
"b": 195
},
"hsl": {
"h": 260.16,
"s": 51.02,
"l": 51.961
},
"oklch": {
"l": 0.5098,
"c": 0.18557,
"h": 294.3
},
"luminance": 0.11765
}Semantic roles & 50–950 ramp
primary
#7046C3
secondary
#BBCE97
accent
#DA4DAB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83