#A746D9#A746D9
#A746D9 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.221 H 311.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A746D9 |
|---|---|
| RGB | rgb(167, 70, 217) |
| HSL | hsl(280, 66%, 56%) |
| HSV | hsv(280, 68%, 85%) |
| CMYK | cmyk(23%, 67.7%, 0%, 14.9%) |
| CIE-LAB | lab(49.02, 62.63, -58.37) |
| CIE-LCH | lch(49.02, 85.61, 317.02°) |
| OKLab | oklab(58.8% 0.1473 -0.1648) |
| OKLCH | oklch(58.8% 0.221 311.8) |
| XYZ | xyz(30.6486, 17.6064, 67.4160) |
| Luminance | 0.1761 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.31
Darkorchid
#9932CC
ΔE00 5.47
Electric Purple
#AA23FF
ΔE00 5.67
Neon Purple
#BC13FE
ΔE00 5.70
Mediumorchid
#BA55D3
ΔE00 5.81
Bright Purple
#BE03FD
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A746D9 #78D946
analogous
#5E46D9 #A746D9 #D946C2
triadic
#A746D9 #D9A746 #46D9A7
tetradic
#A746D9 #D95E46 #78D946 #46C2D9
square
#A746D9 #D95E46 #78D946 #46C2D9
split-complementary
#A746D9 #C2D946 #46D95E
monochromatic
#641C89 #8926BB #A746D9 #BF79E3 #D7ACEE
Accessibility & contrast
On white
4.64
#A746D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#A746D9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A746D9
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A746D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A746D9 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3676D6
Tritanopia (blue-blind)
#A1658A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a746d9; /* rgb */ color: rgb(167, 70, 217); /* oklch */ color: oklch(58.8% 0.221 311.8);
Tailwind
colors: {
custom: {
50: '#c581e5',
500: '#a746d9',
950: '#000000',
},
}SCSS
$custom: #a746d9; $custom-light: #c581e5; $custom-dark: #000000;
JSON
{
"hex": "#a746d9",
"rgb": {
"r": 167,
"g": 70,
"b": 217
},
"hsl": {
"h": 279.592,
"s": 65.919,
"l": 56.275
},
"oklch": {
"l": 0.58796,
"c": 0.22097,
"h": 311.8
},
"luminance": 0.17606
}Semantic roles & 50–950 ramp
primary
#A746D9
secondary
#B4DC9F
accent
#E93F79
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84