#7046C2#7046C2
#7046C2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.184 H 294.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7046C2 |
|---|---|
| RGB | rgb(112, 70, 194) |
| HSL | hsl(260, 50%, 52%) |
| HSV | hsv(260, 64%, 76%) |
| CMYK | cmyk(42.3%, 63.9%, 0%, 23.9%) |
| CIE-LAB | lab(40.77, 45.64, -58.77) |
| CIE-LCH | lch(40.77, 74.41, 307.83°) |
| OKLab | oklab(50.9% 0.0765 -0.1677) |
| OKLCH | oklch(50.9% 0.184 294.5) |
| XYZ | xyz(18.6073, 11.7196, 52.3102) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.85
Bluish Purple
#703BE7
ΔE00 5.16
Blue With A Hint Of Purple
#533CC6
ΔE00 5.32
Blurple
#5539CC
ΔE00 5.44
Burple
#6832E3
ΔE00 5.72
Royal Purple
#7851A9
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7046C2 #98C246
analogous
#465AC2 #7046C2 #AE46C2
triadic
#7046C2 #C27046 #46C270
tetradic
#7046C2 #C2465A #98C246 #46C2AE
square
#7046C2 #C2465A #98C246 #46C2AE
split-complementary
#7046C2 #C2AE46 #5AC246
monochromatic
#3B236A #553299 #7046C2 #9474D1 #B7A2E0
Accessibility & contrast
On white
6.28
#7046C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7046C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7046C2
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7046C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7046C2 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#5A637E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7046c2; /* rgb */ color: rgb(112, 70, 194); /* oklch */ color: oklch(50.9% 0.184 294.5);
Tailwind
colors: {
custom: {
50: '#9f7cd5',
500: '#7046c2',
950: '#000000',
},
}SCSS
$custom: #7046c2; $custom-light: #9f7cd5; $custom-dark: #000000;
JSON
{
"hex": "#7046c2",
"rgb": {
"r": 112,
"g": 70,
"b": 194
},
"hsl": {
"h": 260.323,
"s": 50.407,
"l": 51.765
},
"oklch": {
"l": 0.50904,
"c": 0.18437,
"h": 294.5
},
"luminance": 0.1172
}Semantic roles & 50–950 ramp
primary
#7046C2
secondary
#BBCD97
accent
#DA4EAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83