#843CB9#843CB9
#843CB9 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.191 H 307.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #843CB9 |
|---|---|
| RGB | rgb(132, 60, 185) |
| HSL | hsl(275, 51%, 48%) |
| HSV | hsv(275, 68%, 73%) |
| CMYK | cmyk(28.6%, 67.6%, 0%, 27.5%) |
| CIE-LAB | lab(40.64, 52.70, -53.59) |
| CIE-LCH | lch(40.64, 75.16, 314.52°) |
| OKLab | oklab(51.14% 0.1158 -0.1518) |
| OKLCH | oklch(51.14% 0.191 307.3) |
| XYZ | xyz(19.8867, 11.6403, 47.0887) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.16
Purply
#983FB2
ΔE00 4.71
Blueviolet
#8A2BE2
ΔE00 5.81
Darkviolet
#9400D3
ΔE00 5.97
Royal Purple
#7851A9
ΔE00 6.05
Bluey Purple
#6241C7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843CB9 #71B93C
analogous
#463CB9 #843CB9 #B93CAF
triadic
#843CB9 #B9843C #3CB984
tetradic
#843CB9 #B9463C #71B93C #3CAFB9
square
#843CB9 #B9463C #71B93C #3CAFB9
split-complementary
#843CB9 #AFB93C #3CB946
monochromatic
#421E5D #632D8B #843CB9 #A165CD #BD93DC
Accessibility & contrast
On white
6.31
#843CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#843CB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843CB9
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843CB9 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#1E60B6
Tritanopia (blue-blind)
#7B5776
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #843cb9; /* rgb */ color: rgb(132, 60, 185); /* oklch */ color: oklch(51.1% 0.191 307.3);
Tailwind
colors: {
custom: {
50: '#ac77cf',
500: '#843cb9',
950: '#000000',
},
}SCSS
$custom: #843cb9; $custom-light: #ac77cf; $custom-dark: #000000;
JSON
{
"hex": "#843cb9",
"rgb": {
"r": 132,
"g": 60,
"b": 185
},
"hsl": {
"h": 274.56,
"s": 51.02,
"l": 48.039
},
"oklch": {
"l": 0.51138,
"c": 0.19095,
"h": 307.3
},
"luminance": 0.1164
}Semantic roles & 50–950 ramp
primary
#843CB9
secondary
#A4C789
accent
#DA4D89
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82