#8043B9#8043B9
#8043B9 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.180 H 304.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8043B9 |
|---|---|
| RGB | rgb(128, 67, 185) |
| HSL | hsl(271, 47%, 49%) |
| HSV | hsv(271, 64%, 73%) |
| CMYK | cmyk(30.8%, 63.8%, 0%, 27.5%) |
| CIE-LAB | lab(41.38, 48.37, -52.41) |
| CIE-LCH | lch(41.38, 71.33, 312.70°) |
| OKLab | oklab(51.57% 0.1024 -0.1485) |
| OKLCH | oklch(51.57% 0.18 304.6) |
| XYZ | xyz(19.6642, 12.1064, 47.1903) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.72
Darkorchid
#9932CC
ΔE00 5.06
Purply
#983FB2
ΔE00 5.28
Bluey Purple
#6241C7
ΔE00 6.22
Blueviolet
#8A2BE2
ΔE00 6.33
Darkviolet
#9400D3
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8043B9 #7CB943
analogous
#4543B9 #8043B9 #B943B7
triadic
#8043B9 #B98043 #43B980
tetradic
#8043B9 #B94543 #7CB943 #43B7B9
square
#8043B9 #B94543 #7CB943 #43B7B9
split-complementary
#8043B9 #B7B943 #43B945
monochromatic
#42225F #61338C #8043B9 #9E6FCB #BC9BDB
Accessibility & contrast
On white
6.14
#8043B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#8043B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8043B9
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8043B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8043B9 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#2362B6
Tritanopia (blue-blind)
#765C78
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8043b9; /* rgb */ color: rgb(128, 67, 185); /* oklch */ color: oklch(51.6% 0.180 304.6);
Tailwind
colors: {
custom: {
50: '#a97bcf',
500: '#8043b9',
950: '#000000',
},
}SCSS
$custom: #8043b9; $custom-light: #a97bcf; $custom-dark: #000000;
JSON
{
"hex": "#8043b9",
"rgb": {
"r": 128,
"g": 67,
"b": 185
},
"hsl": {
"h": 271.017,
"s": 46.825,
"l": 49.412
},
"oklch": {
"l": 0.51565,
"c": 0.18042,
"h": 304.6
},
"luminance": 0.12106
}Semantic roles & 50–950 ramp
primary
#8043B9
secondary
#ABC791
accent
#D65192
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82