#8A43AF#8A43AF
#8A43AF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.173 H 312.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8A43AF |
|---|---|
| RGB | rgb(138, 67, 175) |
| HSL | hsl(279, 45%, 47%) |
| HSV | hsv(279, 62%, 69%) |
| CMYK | cmyk(21.1%, 61.7%, 0%, 31.4%) |
| CIE-LAB | lab(42.02, 48.42, -45.44) |
| CIE-LCH | lch(42.02, 66.40, 316.82°) |
| OKLab | oklab(52.1% 0.116 -0.1277) |
| OKLCH | oklch(52.1% 0.173 312.2) |
| XYZ | xyz(20.2249, 12.5132, 41.8990) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.69
Royal Purple
#7851A9
ΔE00 5.09
Darkorchid
#9932CC
ΔE00 5.10
Medium Purple
#9E43A2
ΔE00 5.67
Barney
#AC1DB8
ΔE00 6.78
Ugly Purple
#A442A0
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A43AF #68AF43
analogous
#5443AF #8A43AF #AF439E
triadic
#8A43AF #AF8A43 #43AF8A
tetradic
#8A43AF #AF5443 #68AF43 #439EAF
square
#8A43AF #AF5443 #68AF43 #439EAF
split-complementary
#8A43AF #9EAF43 #43AF54
monochromatic
#442156 #673283 #8A43AF #A669C6 #C096D7
Accessibility & contrast
On white
6.00
#8A43AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#8A43AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A43AF
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A43AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A43AF | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1960B2
Deuteranopia (green-blind)
#3B65AC
Tritanopia (blue-blind)
#865773
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a43af; /* rgb */ color: rgb(138, 67, 175); /* oklch */ color: oklch(52.1% 0.173 312.2);
Tailwind
colors: {
custom: {
50: '#af7bc7',
500: '#8a43af',
950: '#000000',
},
}SCSS
$custom: #8a43af; $custom-light: #af7bc7; $custom-dark: #000000;
JSON
{
"hex": "#8a43af",
"rgb": {
"r": 138,
"g": 67,
"b": 175
},
"hsl": {
"h": 279.444,
"s": 44.628,
"l": 47.451
},
"oklch": {
"l": 0.52098,
"c": 0.17253,
"h": 312.2
},
"luminance": 0.12513
}Semantic roles & 50–950 ramp
primary
#8A43AF
secondary
#9EC28B
accent
#D45380
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82