#8A46BF#8A46BF
#8A46BF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.185 H 307.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8A46BF |
|---|---|
| RGB | rgb(138, 70, 191) |
| HSL | hsl(274, 49%, 51%) |
| HSV | hsv(274, 63%, 75%) |
| CMYK | cmyk(27.7%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(43.57, 50.55, -52.34) |
| CIE-LCH | lch(43.57, 72.76, 314.01°) |
| OKLab | oklab(53.55% 0.1118 -0.148) |
| OKLCH | oklch(53.55% 0.185 307.1) |
| XYZ | xyz(22.0734, 13.5454, 50.7318) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.97
Purply
#983FB2
ΔE00 4.14
Royal Purple
#7851A9
ΔE00 5.34
Blueviolet
#8A2BE2
ΔE00 6.22
Deep Lavender
#8D5EB7
ΔE00 6.68
Purpley
#8756E4
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A46BF #7BBF46
analogous
#4D46BF #8A46BF #BF46B7
triadic
#8A46BF #BF8A46 #46BF8A
tetradic
#8A46BF #BF4D46 #7BBF46 #46B7BF
square
#8A46BF #BF4D46 #7BBF46 #46B7BF
split-complementary
#8A46BF #B7BF46 #46BF4D
monochromatic
#492467 #6A3394 #8A46BF #A773CF #C4A1DE
Accessibility & contrast
On white
5.66
#8A46BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#8A46BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A46BF
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A46BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A46BF | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2E68BC
Tritanopia (blue-blind)
#815F7C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8a46bf; /* rgb */ color: rgb(138, 70, 191); /* oklch */ color: oklch(53.5% 0.185 307.1);
Tailwind
colors: {
custom: {
50: '#b07dd3',
500: '#8a46bf',
950: '#000000',
},
}SCSS
$custom: #8a46bf; $custom-light: #b07dd3; $custom-dark: #000000;
JSON
{
"hex": "#8a46bf",
"rgb": {
"r": 138,
"g": 70,
"b": 191
},
"hsl": {
"h": 273.719,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.53545,
"c": 0.18548,
"h": 307.1
},
"luminance": 0.13545
}Semantic roles & 50–950 ramp
primary
#8A46BF
secondary
#ADCB96
accent
#D8508B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83