#8A46BC#8A46BC
#8A46BC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.182 H 307.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A46BC |
|---|---|
| RGB | rgb(138, 70, 188) |
| HSL | hsl(275, 47%, 51%) |
| HSV | hsv(275, 63%, 74%) |
| CMYK | cmyk(26.6%, 62.8%, 0%, 26.3%) |
| CIE-LAB | lab(43.38, 49.86, -50.89) |
| CIE-LCH | lch(43.38, 71.25, 314.41°) |
| OKLab | oklab(53.34% 0.112 -0.1437) |
| OKLCH | oklch(53.34% 0.182 307.9) |
| XYZ | xyz(21.7466, 13.4147, 49.0109) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.80
Darkorchid
#9932CC
ΔE00 4.14
Royal Purple
#7851A9
ΔE00 5.11
Deep Lavender
#8D5EB7
ΔE00 6.59
Blueviolet
#8A2BE2
ΔE00 6.59
Medium Purple
#9E43A2
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A46BC #78BC46
analogous
#4F46BC #8A46BC #BC46B3
triadic
#8A46BC #BC8A46 #46BC8A
tetradic
#8A46BC #BC4F46 #78BC46 #46B3BC
square
#8A46BC #BC4F46 #78BC46 #46B3BC
split-complementary
#8A46BC #B3BC46 #46BC4F
monochromatic
#492464 #693490 #8A46BC #A673CC #C3A0DD
Accessibility & contrast
On white
5.70
#8A46BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#8A46BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A46BC
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A46BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A46BC | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#825E7B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8a46bc; /* rgb */ color: rgb(138, 70, 188); /* oklch */ color: oklch(53.3% 0.182 307.9);
Tailwind
colors: {
custom: {
50: '#b07dd1',
500: '#8a46bc',
950: '#000000',
},
}SCSS
$custom: #8a46bc; $custom-light: #b07dd1; $custom-dark: #000000;
JSON
{
"hex": "#8a46bc",
"rgb": {
"r": 138,
"g": 70,
"b": 188
},
"hsl": {
"h": 274.576,
"s": 46.825,
"l": 50.588
},
"oklch": {
"l": 0.53344,
"c": 0.1822,
"h": 307.9
},
"luminance": 0.13414
}Semantic roles & 50–950 ramp
primary
#8A46BC
secondary
#ABC995
accent
#D6518A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82