#8A46C0#8A46C0
#8A46C0 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.187 H 306.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8A46C0 |
|---|---|
| RGB | rgb(138, 70, 192) |
| HSL | hsl(273, 49%, 51%) |
| HSV | hsv(273, 64%, 75%) |
| CMYK | cmyk(28.1%, 63.5%, 0%, 24.7%) |
| CIE-LAB | lab(43.64, 50.79, -52.81) |
| CIE-LCH | lch(43.64, 73.27, 313.88°) |
| OKLab | oklab(53.61% 0.1118 -0.1494) |
| OKLCH | oklch(53.61% 0.187 306.8) |
| XYZ | xyz(22.1838, 13.5896, 51.3133) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.92
Purply
#983FB2
ΔE00 4.26
Royal Purple
#7851A9
ΔE00 5.42
Blueviolet
#8A2BE2
ΔE00 6.10
Deep Lavender
#8D5EB7
ΔE00 6.71
Purpley
#8756E4
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A46C0 #7CC046
analogous
#4D46C0 #8A46C0 #C046B9
triadic
#8A46C0 #C08A46 #46C08A
tetradic
#8A46C0 #C04D46 #7CC046 #46B9C0
square
#8A46C0 #C04D46 #7CC046 #46B9C0
split-complementary
#8A46C0 #B9C046 #46C04D
monochromatic
#4A2368 #6A3396 #8A46C0 #A774D0 #C4A1DF
Accessibility & contrast
On white
5.65
#8A46C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#8A46C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A46C0
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A46C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A46C0 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#2D68BD
Tritanopia (blue-blind)
#815F7D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8a46c0; /* rgb */ color: rgb(138, 70, 192); /* oklch */ color: oklch(53.6% 0.187 306.8);
Tailwind
colors: {
custom: {
50: '#b07dd4',
500: '#8a46c0',
950: '#000000',
},
}SCSS
$custom: #8a46c0; $custom-light: #b07dd4; $custom-dark: #000000;
JSON
{
"hex": "#8a46c0",
"rgb": {
"r": 138,
"g": 70,
"b": 192
},
"hsl": {
"h": 273.443,
"s": 49.194,
"l": 51.373
},
"oklch": {
"l": 0.53612,
"c": 0.18657,
"h": 306.8
},
"luminance": 0.13589
}Semantic roles & 50–950 ramp
primary
#8A46C0
secondary
#AECC96
accent
#D94F8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83