#8A43B5#8A43B5
#8A43B5 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.179 H 310.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8A43B5 |
|---|---|
| RGB | rgb(138, 67, 181) |
| HSL | hsl(277, 46%, 49%) |
| HSV | hsv(277, 63%, 71%) |
| CMYK | cmyk(23.8%, 63%, 0%, 29%) |
| CIE-LAB | lab(42.39, 49.76, -48.38) |
| CIE-LCH | lch(42.39, 69.40, 315.80°) |
| OKLab | oklab(52.49% 0.1159 -0.1364) |
| OKLCH | oklch(52.49% 0.179 310.4) |
| XYZ | xyz(20.8273, 12.7542, 45.0717) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.01
Darkorchid
#9932CC
ΔE00 4.37
Royal Purple
#7851A9
ΔE00 5.16
Medium Purple
#9E43A2
ΔE00 6.41
Barney
#AC1DB8
ΔE00 6.89
Deep Lavender
#8D5EB7
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A43B5 #6EB543
analogous
#5143B5 #8A43B5 #B543A7
triadic
#8A43B5 #B58A43 #43B58A
tetradic
#8A43B5 #B55143 #6EB543 #43A7B5
square
#8A43B5 #B55143 #6EB543 #43A7B5
split-complementary
#8A43B5 #A7B543 #43B551
monochromatic
#46225C #683288 #8A43B5 #A66CC9 #C199D9
Accessibility & contrast
On white
5.91
#8A43B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#8A43B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A43B5
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A43B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A43B5 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A61B9
Deuteranopia (green-blind)
#3665B2
Tritanopia (blue-blind)
#845976
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a43b5; /* rgb */ color: rgb(138, 67, 181); /* oklch */ color: oklch(52.5% 0.179 310.4);
Tailwind
colors: {
custom: {
50: '#af7bcc',
500: '#8a43b5',
950: '#000000',
},
}SCSS
$custom: #8a43b5; $custom-light: #af7bcc; $custom-dark: #000000;
JSON
{
"hex": "#8a43b5",
"rgb": {
"r": 138,
"g": 67,
"b": 181
},
"hsl": {
"h": 277.368,
"s": 45.968,
"l": 48.627
},
"oklch": {
"l": 0.52485,
"c": 0.17893,
"h": 310.4
},
"luminance": 0.12754
}Semantic roles & 50–950 ramp
primary
#8A43B5
secondary
#A3C58F
accent
#D65284
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82