#8A43C5#8A43C5
#8A43C5 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.6% C 0.196 H 305.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8A43C5 |
|---|---|
| RGB | rgb(138, 67, 197) |
| HSL | hsl(273, 53%, 52%) |
| HSV | hsv(273, 66%, 77%) |
| CMYK | cmyk(29.9%, 66%, 0%, 22.7%) |
| CIE-LAB | lab(43.43, 53.42, -56.05) |
| CIE-LCH | lch(43.43, 77.44, 313.62°) |
| OKLab | oklab(53.57% 0.1149 -0.1589) |
| OKLCH | oklch(53.57% 0.196 305.9) |
| XYZ | xyz(22.5642, 13.4490, 54.2197) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.36
Purply
#983FB2
ΔE00 4.77
Blueviolet
#8A2BE2
ΔE00 5.12
Royal Purple
#7851A9
ΔE00 6.17
Violet (survey)
#9A0EEA
ΔE00 6.58
Darkviolet
#9400D3
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A43C5 #7EC543
analogous
#4943C5 #8A43C5 #C543BF
triadic
#8A43C5 #C58A43 #43C58A
tetradic
#8A43C5 #C54943 #7EC543 #43BFC5
square
#8A43C5 #C54943 #7EC543 #43BFC5
split-complementary
#8A43C5 #BFC543 #43C549
monochromatic
#4A216C #6A309B #8A43C5 #A772D3 #C4A1E2
Accessibility & contrast
On white
5.69
#8A43C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#8A43C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A43C5
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A43C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A43C5 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#2067C2
Tritanopia (blue-blind)
#805F7E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8a43c5; /* rgb */ color: rgb(138, 67, 197); /* oklch */ color: oklch(53.6% 0.196 305.9);
Tailwind
colors: {
custom: {
50: '#b07cd7',
500: '#8a43c5',
950: '#000000',
},
}SCSS
$custom: #8a43c5; $custom-light: #b07cd7; $custom-dark: #000000;
JSON
{
"hex": "#8a43c5",
"rgb": {
"r": 138,
"g": 67,
"b": 197
},
"hsl": {
"h": 272.769,
"s": 52.846,
"l": 51.765
},
"oklch": {
"l": 0.53569,
"c": 0.19605,
"h": 305.9
},
"luminance": 0.13449
}Semantic roles & 50–950 ramp
primary
#8A43C5
secondary
#AFCE95
accent
#DC4C8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83