#7045C6#7045C6
#7045C6 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.190 H 293.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7045C6 |
|---|---|
| RGB | rgb(112, 69, 198) |
| HSL | hsl(260, 53%, 52%) |
| HSV | hsv(260, 65%, 78%) |
| CMYK | cmyk(43.4%, 65.2%, 0%, 22.4%) |
| CIE-LAB | lab(40.86, 47.27, -60.94) |
| CIE-LCH | lch(40.86, 77.13, 307.80°) |
| OKLab | oklab(51.06% 0.0772 -0.1741) |
| OKLCH | oklch(51.06% 0.19 293.9) |
| XYZ | xyz(19.0005, 11.7777, 54.6874) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.59
Bluish Purple
#703BE7
ΔE00 4.54
Blue With A Hint Of Purple
#533CC6
ΔE00 5.12
Blurple
#5539CC
ΔE00 5.15
Burple
#6832E3
ΔE00 5.15
Purpley Blue
#5F34E7
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7045C6 #9BC645
analogous
#455BC6 #7045C6 #B045C6
triadic
#7045C6 #C67045 #45C670
tetradic
#7045C6 #C6455B #9BC645 #45C6B0
square
#7045C6 #C6455B #9BC645 #45C6B0
split-complementary
#7045C6 #C6B045 #5BC645
monochromatic
#3C226F #55309E #7045C6 #9474D4 #B8A3E3
Accessibility & contrast
On white
6.26
#7045C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#7045C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7045C6
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7045C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7045C6 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#58637F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7045c6; /* rgb */ color: rgb(112, 69, 198); /* oklch */ color: oklch(51.1% 0.190 293.9);
Tailwind
colors: {
custom: {
50: '#a07bd8',
500: '#7045c6',
950: '#000000',
},
}SCSS
$custom: #7045c6; $custom-light: #a07bd8; $custom-dark: #000000;
JSON
{
"hex": "#7045c6",
"rgb": {
"r": 112,
"g": 69,
"b": 198
},
"hsl": {
"h": 260,
"s": 53.086,
"l": 52.353
},
"oklch": {
"l": 0.51064,
"c": 0.19047,
"h": 293.9
},
"luminance": 0.11778
}Semantic roles & 50–950 ramp
primary
#7045C6
secondary
#BDCF97
accent
#DC4BAC
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0915
muted
#7F7B83