#8A43B3#8A43B3
#8A43B3 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.177 H 311.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8A43B3 |
|---|---|
| RGB | rgb(138, 67, 179) |
| HSL | hsl(278, 46%, 48%) |
| HSV | hsv(278, 63%, 70%) |
| CMYK | cmyk(22.9%, 62.6%, 0%, 29.8%) |
| CIE-LAB | lab(42.27, 49.31, -47.40) |
| CIE-LCH | lch(42.27, 68.40, 316.13°) |
| OKLab | oklab(52.36% 0.1159 -0.1335) |
| OKLCH | oklch(52.36% 0.177 311) |
| XYZ | xyz(20.6236, 12.6727, 43.9987) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.87
Darkorchid
#9932CC
ΔE00 4.60
Royal Purple
#7851A9
ΔE00 5.11
Medium Purple
#9E43A2
ΔE00 6.16
Barney
#AC1DB8
ΔE00 6.84
Deep Lavender
#8D5EB7
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A43B3 #6CB343
analogous
#5243B3 #8A43B3 #B343A4
triadic
#8A43B3 #B38A43 #43B38A
tetradic
#8A43B3 #B35243 #6CB343 #43A4B3
square
#8A43B3 #B35243 #6CB343 #43A4B3
split-complementary
#8A43B3 #A4B343 #43B352
monochromatic
#45225A #683286 #8A43B3 #A66BC8 #C198D8
Accessibility & contrast
On white
5.94
#8A43B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8A43B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A43B3
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A43B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A43B3 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1160B6
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#855975
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a43b3; /* rgb */ color: rgb(138, 67, 179); /* oklch */ color: oklch(52.4% 0.177 311.0);
Tailwind
colors: {
custom: {
50: '#af7bca',
500: '#8a43b3',
950: '#000000',
},
}SCSS
$custom: #8a43b3; $custom-light: #af7bca; $custom-dark: #000000;
JSON
{
"hex": "#8a43b3",
"rgb": {
"r": 138,
"g": 67,
"b": 179
},
"hsl": {
"h": 278.036,
"s": 45.528,
"l": 48.235
},
"oklch": {
"l": 0.52355,
"c": 0.1768,
"h": 311
},
"luminance": 0.12672
}Semantic roles & 50–950 ramp
primary
#8A43B3
secondary
#A2C48D
accent
#D55382
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82