#8A46B3#8A46B3
#8A46B3 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.172 H 310.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8A46B3 |
|---|---|
| RGB | rgb(138, 70, 179) |
| HSL | hsl(277, 44%, 49%) |
| HSV | hsv(277, 61%, 70%) |
| CMYK | cmyk(22.9%, 60.9%, 0%, 29.8%) |
| CIE-LAB | lab(42.82, 47.80, -46.51) |
| CIE-LCH | lch(42.82, 66.70, 315.78°) |
| OKLab | oklab(52.76% 0.1122 -0.1309) |
| OKLCH | oklch(52.76% 0.172 310.6) |
| XYZ | xyz(20.8065, 13.0387, 44.0597) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.00
Royal Purple
#7851A9
ΔE00 4.69
Darkorchid
#9932CC
ΔE00 4.95
Medium Purple
#9E43A2
ΔE00 6.09
Deep Lavender
#8D5EB7
ΔE00 6.51
Barney
#AC1DB8
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A46B3 #6FB346
analogous
#5446B3 #8A46B3 #B346A6
triadic
#8A46B3 #B38A46 #46B38A
tetradic
#8A46B3 #B35446 #6FB346 #46A6B3
square
#8A46B3 #B35446 #6FB346 #46A6B3
split-complementary
#8A46B3 #A6B346 #46B354
monochromatic
#46245B #683587 #8A46B3 #A66FC7 #C19BD8
Accessibility & contrast
On white
5.82
#8A46B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#8A46B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A46B3
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A46B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A46B3 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B62B6
Deuteranopia (green-blind)
#3B66B0
Tritanopia (blue-blind)
#855B76
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8a46b3; /* rgb */ color: rgb(138, 70, 179); /* oklch */ color: oklch(52.8% 0.172 310.6);
Tailwind
colors: {
custom: {
50: '#af7dca',
500: '#8a46b3',
950: '#000000',
},
}SCSS
$custom: #8a46b3; $custom-light: #af7dca; $custom-dark: #000000;
JSON
{
"hex": "#8a46b3",
"rgb": {
"r": 138,
"g": 70,
"b": 179
},
"hsl": {
"h": 277.431,
"s": 43.775,
"l": 48.824
},
"oklch": {
"l": 0.52758,
"c": 0.17239,
"h": 310.6
},
"luminance": 0.13038
}Semantic roles & 50–950 ramp
primary
#8A46B3
secondary
#A4C490
accent
#D45484
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82