#7A46D9#7A46D9
#7A46D9 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.212 H 294.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7A46D9 |
|---|---|
| RGB | rgb(122, 70, 217) |
| HSL | hsl(261, 66%, 56%) |
| HSV | hsv(261, 68%, 85%) |
| CMYK | cmyk(43.8%, 67.7%, 0%, 14.9%) |
| CIE-LAB | lab(43.55, 53.72, -67.48) |
| CIE-LCH | lch(43.55, 86.25, 308.52°) |
| OKLab | oklab(53.69% 0.0874 -0.193) |
| OKLCH | oklch(53.69% 0.212 294.4) |
| XYZ | xyz(22.7372, 13.5270, 67.0452) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.14
Purpleish Blue
#6140EF
ΔE00 4.61
Blueviolet
#8A2BE2
ΔE00 4.64
Bluey Purple
#6241C7
ΔE00 4.87
Burple
#6832E3
ΔE00 5.00
Purpley
#8756E4
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A46D9 #A5D946
analogous
#465CD9 #7A46D9 #C346D9
triadic
#7A46D9 #D97A46 #46D97A
tetradic
#7A46D9 #D9465C #A5D946 #46D9C3
square
#7A46D9 #D9465C #A5D946 #46D9C3
split-complementary
#7A46D9 #D9C346 #5CD946
monochromatic
#421C89 #5B26BB #7A46D9 #9F79E3 #C3ACEE
Accessibility & contrast
On white
5.67
#7A46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#7A46D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A46D9
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A46D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A46D9 | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#5F6A8A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7a46d9; /* rgb */ color: rgb(122, 70, 217); /* oklch */ color: oklch(53.7% 0.212 294.4);
Tailwind
colors: {
custom: {
50: '#a87de6',
500: '#7a46d9',
950: '#000000',
},
}SCSS
$custom: #7a46d9; $custom-light: #a87de6; $custom-dark: #000000;
JSON
{
"hex": "#7a46d9",
"rgb": {
"r": 122,
"g": 70,
"b": 217
},
"hsl": {
"h": 261.224,
"s": 65.919,
"l": 56.275
},
"oklch": {
"l": 0.53689,
"c": 0.2119,
"h": 294.4
},
"luminance": 0.13528
}Semantic roles & 50–950 ramp
primary
#7A46D9
secondary
#C6DC9F
accent
#E93FAD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84