#7A45C4#7A45C4
#7A45C4 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.189 H 298.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7A45C4 |
|---|---|
| RGB | rgb(122, 69, 196) |
| HSL | hsl(265, 52%, 52%) |
| HSV | hsv(265, 65%, 77%) |
| CMYK | cmyk(37.8%, 64.8%, 0%, 23.1%) |
| CIE-LAB | lab(41.81, 48.78, -58.19) |
| CIE-LCH | lch(41.81, 75.92, 309.97°) |
| OKLab | oklab(51.96% 0.0911 -0.1657) |
| OKLCH | oklch(51.96% 0.189 298.8) |
| XYZ | xyz(20.1155, 12.3791, 53.5435) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.43
Bluish Purple
#703BE7
ΔE00 5.29
Blueviolet
#8A2BE2
ΔE00 5.52
Royal Purple
#7851A9
ΔE00 5.59
Darkorchid
#9932CC
ΔE00 5.87
Burple
#6832E3
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A45C4 #8FC445
analogous
#4550C4 #7A45C4 #B945C4
triadic
#7A45C4 #C47A45 #45C47A
tetradic
#7A45C4 #C44550 #8FC445 #45C4B9
square
#7A45C4 #C44550 #8FC445 #45C4B9
split-complementary
#7A45C4 #C4B945 #50C445
monochromatic
#41226C #5D319B #7A45C4 #9B73D3 #BCA2E1
Accessibility & contrast
On white
6.04
#7A45C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#7A45C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A45C4
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A45C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A45C4 | 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)
#0063C8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#69627E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7a45c4; /* rgb */ color: rgb(122, 69, 196); /* oklch */ color: oklch(52.0% 0.189 298.8);
Tailwind
colors: {
custom: {
50: '#a67cd7',
500: '#7a45c4',
950: '#000000',
},
}SCSS
$custom: #7a45c4; $custom-light: #a67cd7; $custom-dark: #000000;
JSON
{
"hex": "#7a45c4",
"rgb": {
"r": 122,
"g": 69,
"b": 196
},
"hsl": {
"h": 265.039,
"s": 51.837,
"l": 51.961
},
"oklch": {
"l": 0.51956,
"c": 0.18909,
"h": 298.8
},
"luminance": 0.12379
}Semantic roles & 50–950 ramp
primary
#7A45C4
secondary
#B7CE97
accent
#DB4DA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83