#8A46C4#8A46C4
#8A46C4 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.191 H 305.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8A46C4 |
|---|---|
| RGB | rgb(138, 70, 196) |
| HSL | hsl(272, 52%, 52%) |
| HSV | hsv(272, 64%, 77%) |
| CMYK | cmyk(29.6%, 64.3%, 0%, 23.1%) |
| CIE-LAB | lab(43.90, 51.72, -54.72) |
| CIE-LCH | lch(43.90, 75.29, 313.39°) |
| OKLab | oklab(53.89% 0.1115 -0.155) |
| OKLCH | oklch(53.89% 0.191 305.7) |
| XYZ | xyz(22.6330, 13.7693, 53.6792) |
| Luminance | 0.1377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.82
Purply
#983FB2
ΔE00 4.75
Blueviolet
#8A2BE2
ΔE00 5.66
Royal Purple
#7851A9
ΔE00 5.78
Purpley
#8756E4
ΔE00 6.57
Deep Lavender
#8D5EB7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A46C4 #80C446
analogous
#4B46C4 #8A46C4 #C446BF
triadic
#8A46C4 #C48A46 #46C48A
tetradic
#8A46C4 #C44B46 #80C446 #46BFC4
square
#8A46C4 #C44B46 #80C446 #46BFC4
split-complementary
#8A46C4 #BFC446 #46C44B
monochromatic
#4B236D #6B329B #8A46C4 #A774D3 #C5A3E2
Accessibility & contrast
On white
5.59
#8A46C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#8A46C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A46C4
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A46C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A46C4 | 1.00 | 5.59 | 3.75 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#2768C1
Tritanopia (blue-blind)
#80617F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8a46c4; /* rgb */ color: rgb(138, 70, 196); /* oklch */ color: oklch(53.9% 0.191 305.7);
Tailwind
colors: {
custom: {
50: '#b07ed7',
500: '#8a46c4',
950: '#000000',
},
}SCSS
$custom: #8a46c4; $custom-light: #b07ed7; $custom-dark: #000000;
JSON
{
"hex": "#8a46c4",
"rgb": {
"r": 138,
"g": 70,
"b": 196
},
"hsl": {
"h": 272.381,
"s": 51.639,
"l": 52.157
},
"oklch": {
"l": 0.53885,
"c": 0.19093,
"h": 305.7
},
"luminance": 0.13769
}Semantic roles & 50–950 ramp
primary
#8A46C4
secondary
#B1CE97
accent
#DB4D8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83