#7A42C3#7A42C3
#7A42C3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.192 H 299.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7A42C3 |
|---|---|
| RGB | rgb(122, 66, 195) |
| HSL | hsl(266, 52%, 51%) |
| HSV | hsv(266, 66%, 76%) |
| CMYK | cmyk(37.4%, 66.2%, 0%, 23.5%) |
| CIE-LAB | lab(41.17, 50.07, -58.64) |
| CIE-LCH | lch(41.17, 77.10, 310.49°) |
| OKLab | oklab(51.47% 0.0945 -0.167) |
| OKLCH | oklch(51.47% 0.192 299.5) |
| XYZ | xyz(19.8221, 11.9739, 52.8861) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.34
Blueviolet
#8A2BE2
ΔE00 5.24
Bluish Purple
#703BE7
ΔE00 5.27
Darkorchid
#9932CC
ΔE00 5.63
Royal Purple
#7851A9
ΔE00 5.89
Burple
#6832E3
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A42C3 #8BC342
analogous
#424AC3 #7A42C3 #BB42C3
triadic
#7A42C3 #C37A42 #42C37A
tetradic
#7A42C3 #C3424A #8BC342 #42C3BB
square
#7A42C3 #C3424A #8BC342 #42C3BB
split-complementary
#7A42C3 #C3BB42 #4AC342
monochromatic
#412169 #5D3098 #7A42C3 #9B70D2 #BB9FE0
Accessibility & contrast
On white
6.19
#7A42C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#7A42C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A42C3
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A42C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A42C3 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#69607D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7a42c3; /* rgb */ color: rgb(122, 66, 195); /* oklch */ color: oklch(51.5% 0.192 299.5);
Tailwind
colors: {
custom: {
50: '#a67ad6',
500: '#7a42c3',
950: '#000000',
},
}SCSS
$custom: #7a42c3; $custom-light: #a67ad6; $custom-dark: #000000;
JSON
{
"hex": "#7a42c3",
"rgb": {
"r": 122,
"g": 66,
"b": 195
},
"hsl": {
"h": 266.047,
"s": 51.807,
"l": 51.176
},
"oklch": {
"l": 0.51474,
"c": 0.1919,
"h": 299.5
},
"luminance": 0.11974
}Semantic roles & 50–950 ramp
primary
#7A42C3
secondary
#B4CD94
accent
#DB4D9D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83