#8A43B2#8A43B2
#8A43B2 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.176 H 311.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A43B2 |
|---|---|
| RGB | rgb(138, 67, 178) |
| HSL | hsl(278, 45%, 48%) |
| HSV | hsv(278, 62%, 70%) |
| CMYK | cmyk(22.5%, 62.4%, 0%, 30.2%) |
| CIE-LAB | lab(42.20, 49.08, -46.91) |
| CIE-LCH | lch(42.20, 67.90, 316.30°) |
| OKLab | oklab(52.29% 0.1159 -0.1321) |
| OKLCH | oklch(52.29% 0.176 311.3) |
| XYZ | xyz(20.5228, 12.6324, 43.4680) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.81
Darkorchid
#9932CC
ΔE00 4.72
Royal Purple
#7851A9
ΔE00 5.09
Medium Purple
#9E43A2
ΔE00 6.04
Barney
#AC1DB8
ΔE00 6.82
Deep Lavender
#8D5EB7
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A43B2 #6BB243
analogous
#5243B2 #8A43B2 #B243A2
triadic
#8A43B2 #B28A43 #43B28A
tetradic
#8A43B2 #B25243 #6BB243 #43A2B2
square
#8A43B2 #B25243 #6BB243 #43A2B2
split-complementary
#8A43B2 #A2B243 #43B252
monochromatic
#452259 #683286 #8A43B2 #A66BC7 #C197D8
Accessibility & contrast
On white
5.96
#8A43B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8A43B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A43B2
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A43B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A43B2 | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1360B5
Deuteranopia (green-blind)
#3865AF
Tritanopia (blue-blind)
#855874
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a43b2; /* rgb */ color: rgb(138, 67, 178); /* oklch */ color: oklch(52.3% 0.176 311.3);
Tailwind
colors: {
custom: {
50: '#af7bca',
500: '#8a43b2',
950: '#000000',
},
}SCSS
$custom: #8a43b2; $custom-light: #af7bca; $custom-dark: #000000;
JSON
{
"hex": "#8a43b2",
"rgb": {
"r": 138,
"g": 67,
"b": 178
},
"hsl": {
"h": 278.378,
"s": 45.306,
"l": 48.039
},
"oklch": {
"l": 0.5229,
"c": 0.17573,
"h": 311.3
},
"luminance": 0.12632
}Semantic roles & 50–950 ramp
primary
#8A43B2
secondary
#A1C48D
accent
#D55382
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82