#843BB6#843BB6
#843BB6 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.189 H 308.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #843BB6 |
|---|---|
| RGB | rgb(132, 59, 182) |
| HSL | hsl(276, 51%, 47%) |
| HSV | hsv(276, 68%, 71%) |
| CMYK | cmyk(27.5%, 67.6%, 0%, 28.6%) |
| CIE-LAB | lab(40.26, 52.48, -52.43) |
| CIE-LCH | lch(40.26, 74.19, 315.03°) |
| OKLab | oklab(50.81% 0.1172 -0.1484) |
| OKLCH | oklch(50.81% 0.189 308.3) |
| XYZ | xyz(19.5215, 11.4112, 45.4211) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.39
Purply
#983FB2
ΔE00 4.57
Darkviolet
#9400D3
ΔE00 6.06
Royal Purple
#7851A9
ΔE00 6.09
Blueviolet
#8A2BE2
ΔE00 6.21
Purple (survey)
#7E1E9C
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843BB6 #6DB63B
analogous
#473BB6 #843BB6 #B63BAA
triadic
#843BB6 #B6843B #3BB684
tetradic
#843BB6 #B6473B #6DB63B #3BAAB6
square
#843BB6 #B6473B #6DB63B #3BAAB6
split-complementary
#843BB6 #AAB63B #3BB647
monochromatic
#411D5A #622C88 #843BB6 #A162CC #BD90DB
Accessibility & contrast
On white
6.40
#843BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#843BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843BB6
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843BB6 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#2260B3
Tritanopia (blue-blind)
#7C5574
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #843bb6; /* rgb */ color: rgb(132, 59, 182); /* oklch */ color: oklch(50.8% 0.189 308.3);
Tailwind
colors: {
custom: {
50: '#ac76cd',
500: '#843bb6',
950: '#000000',
},
}SCSS
$custom: #843bb6; $custom-light: #ac76cd; $custom-dark: #000000;
JSON
{
"hex": "#843bb6",
"rgb": {
"r": 132,
"g": 59,
"b": 182
},
"hsl": {
"h": 275.61,
"s": 51.037,
"l": 47.255
},
"oklch": {
"l": 0.50805,
"c": 0.18912,
"h": 308.3
},
"luminance": 0.11411
}Semantic roles & 50–950 ramp
primary
#843BB6
secondary
#A0C687
accent
#DB4D87
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110913
muted
#807B82