#8A43BB#8A43BB
#8A43BB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.185 H 308.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8A43BB |
|---|---|
| RGB | rgb(138, 67, 187) |
| HSL | hsl(276, 47%, 50%) |
| HSV | hsv(276, 64%, 73%) |
| CMYK | cmyk(26.2%, 64.2%, 0%, 26.7%) |
| CIE-LAB | lab(42.77, 51.12, -51.29) |
| CIE-LCH | lch(42.77, 72.41, 314.90°) |
| OKLab | oklab(52.88% 0.1156 -0.1449) |
| OKLCH | oklch(52.88% 0.185 308.6) |
| XYZ | xyz(21.4562, 13.0058, 48.3841) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.58
Darkorchid
#9932CC
ΔE00 3.81
Royal Purple
#7851A9
ΔE00 5.42
Blueviolet
#8A2BE2
ΔE00 6.35
Darkviolet
#9400D3
ΔE00 7.04
Barney
#AC1DB8
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A43BB #74BB43
analogous
#4E43BB #8A43BB #BB43B0
triadic
#8A43BB #BB8A43 #43BB8A
tetradic
#8A43BB #BB4E43 #74BB43 #43B0BB
square
#8A43BB #BB4E43 #74BB43 #43B0BB
split-complementary
#8A43BB #B0BB43 #43BB4E
monochromatic
#472361 #69338E #8A43BB #A670CC #C29DDC
Accessibility & contrast
On white
5.83
#8A43BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#8A43BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A43BB
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A43BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A43BB | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#2F66B8
Tritanopia (blue-blind)
#835B79
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8a43bb; /* rgb */ color: rgb(138, 67, 187); /* oklch */ color: oklch(52.9% 0.185 308.6);
Tailwind
colors: {
custom: {
50: '#b07bd0',
500: '#8a43bb',
950: '#000000',
},
}SCSS
$custom: #8a43bb; $custom-light: #b07bd0; $custom-dark: #000000;
JSON
{
"hex": "#8a43bb",
"rgb": {
"r": 138,
"g": 67,
"b": 187
},
"hsl": {
"h": 275.5,
"s": 47.244,
"l": 49.804
},
"oklch": {
"l": 0.52883,
"c": 0.18535,
"h": 308.6
},
"luminance": 0.13005
}Semantic roles & 50–950 ramp
primary
#8A43BB
secondary
#A8C892
accent
#D75188
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82