#843EB9#843EB9
#843EB9 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.188 H 307.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #843EB9 |
|---|---|
| RGB | rgb(132, 62, 185) |
| HSL | hsl(274, 50%, 48%) |
| HSV | hsv(274, 66%, 73%) |
| CMYK | cmyk(28.6%, 66.5%, 0%, 27.5%) |
| CIE-LAB | lab(40.98, 51.75, -53.04) |
| CIE-LCH | lch(40.98, 74.10, 314.29°) |
| OKLab | oklab(51.39% 0.1136 -0.1502) |
| OKLCH | oklch(51.39% 0.188 307.1) |
| XYZ | xyz(19.9935, 11.8538, 47.1243) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.22
Purply
#983FB2
ΔE00 4.61
Royal Purple
#7851A9
ΔE00 5.71
Blueviolet
#8A2BE2
ΔE00 5.94
Darkviolet
#9400D3
ΔE00 6.29
Bluey Purple
#6241C7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843EB9 #73B93E
analogous
#463EB9 #843EB9 #B93EB0
triadic
#843EB9 #B9843E #3EB984
tetradic
#843EB9 #B9463E #73B93E #3EB0B9
square
#843EB9 #B9463E #73B93E #3EB0B9
split-complementary
#843EB9 #B0B93E #3EB946
monochromatic
#431F5D #632F8B #843EB9 #A168CC #BE96DC
Accessibility & contrast
On white
6.23
#843EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#843EB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843EB9
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843EB9 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#2261B6
Tritanopia (blue-blind)
#7B5876
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #843eb9; /* rgb */ color: rgb(132, 62, 185); /* oklch */ color: oklch(51.4% 0.188 307.1);
Tailwind
colors: {
custom: {
50: '#ac78cf',
500: '#843eb9',
950: '#000000',
},
}SCSS
$custom: #843eb9; $custom-light: #ac78cf; $custom-dark: #000000;
JSON
{
"hex": "#843eb9",
"rgb": {
"r": 132,
"g": 62,
"b": 185
},
"hsl": {
"h": 274.146,
"s": 49.798,
"l": 48.431
},
"oklch": {
"l": 0.51385,
"c": 0.18831,
"h": 307.1
},
"luminance": 0.11854
}Semantic roles & 50–950 ramp
primary
#843EB9
secondary
#A5C78C
accent
#D94E8A
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#110914
muted
#807B82