#8A46BE#8A46BE
#8A46BE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.184 H 307.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8A46BE |
|---|---|
| RGB | rgb(138, 70, 190) |
| HSL | hsl(274, 48%, 51%) |
| HSV | hsv(274, 63%, 75%) |
| CMYK | cmyk(27.4%, 63.2%, 0%, 25.5%) |
| CIE-LAB | lab(43.51, 50.32, -51.86) |
| CIE-LCH | lch(43.51, 72.26, 314.14°) |
| OKLab | oklab(53.48% 0.1119 -0.1466) |
| OKLCH | oklch(53.48% 0.184 307.4) |
| XYZ | xyz(21.9637, 13.5016, 50.1542) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.02
Purply
#983FB2
ΔE00 4.02
Royal Purple
#7851A9
ΔE00 5.26
Blueviolet
#8A2BE2
ΔE00 6.34
Deep Lavender
#8D5EB7
ΔE00 6.64
Purpley
#8756E4
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A46BE #7ABE46
analogous
#4E46BE #8A46BE #BE46B6
triadic
#8A46BE #BE8A46 #46BE8A
tetradic
#8A46BE #BE4E46 #7ABE46 #46B6BE
square
#8A46BE #BE4E46 #7ABE46 #46B6BE
split-complementary
#8A46BE #B6BE46 #46BE4E
monochromatic
#492466 #6A3493 #8A46BE #A773CE #C3A1DE
Accessibility & contrast
On white
5.68
#8A46BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#8A46BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A46BE
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A46BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A46BE | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2F67BB
Tritanopia (blue-blind)
#825E7C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8a46be; /* rgb */ color: rgb(138, 70, 190); /* oklch */ color: oklch(53.5% 0.184 307.4);
Tailwind
colors: {
custom: {
50: '#b07dd2',
500: '#8a46be',
950: '#000000',
},
}SCSS
$custom: #8a46be; $custom-light: #b07dd2; $custom-dark: #000000;
JSON
{
"hex": "#8a46be",
"rgb": {
"r": 138,
"g": 70,
"b": 190
},
"hsl": {
"h": 274,
"s": 48,
"l": 50.98
},
"oklch": {
"l": 0.53478,
"c": 0.18439,
"h": 307.4
},
"luminance": 0.13501
}Semantic roles & 50–950 ramp
primary
#8A46BE
secondary
#ACCA95
accent
#D8508B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83