#843EBA#843EBA
#843EBA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.189 H 306.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #843EBA |
|---|---|
| RGB | rgb(132, 62, 186) |
| HSL | hsl(274, 50%, 49%) |
| HSV | hsv(274, 67%, 73%) |
| CMYK | cmyk(29%, 66.7%, 0%, 27.1%) |
| CIE-LAB | lab(41.05, 51.98, -53.52) |
| CIE-LCH | lch(41.05, 74.60, 314.17°) |
| OKLab | oklab(51.46% 0.1135 -0.1516) |
| OKLCH | oklch(51.46% 0.189 306.8) |
| XYZ | xyz(20.0994, 11.8962, 47.6822) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.15
Purply
#983FB2
ΔE00 4.69
Royal Purple
#7851A9
ΔE00 5.76
Blueviolet
#8A2BE2
ΔE00 5.79
Darkviolet
#9400D3
ΔE00 6.22
Bluey Purple
#6241C7
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843EBA #74BA3E
analogous
#463EBA #843EBA #BA3EB2
triadic
#843EBA #BA843E #3EBA84
tetradic
#843EBA #BA463E #74BA3E #3EB2BA
square
#843EBA #BA463E #74BA3E #3EB2BA
split-complementary
#843EBA #B2BA3E #3EBA46
monochromatic
#431F5E #632F8C #843EBA #A168CD #BE96DC
Accessibility & contrast
On white
6.21
#843EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#843EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843EBA
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843EBA | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2061B7
Tritanopia (blue-blind)
#7B5977
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #843eba; /* rgb */ color: rgb(132, 62, 186); /* oklch */ color: oklch(51.5% 0.189 306.8);
Tailwind
colors: {
custom: {
50: '#ac78cf',
500: '#843eba',
950: '#000000',
},
}SCSS
$custom: #843eba; $custom-light: #ac78cf; $custom-dark: #000000;
JSON
{
"hex": "#843eba",
"rgb": {
"r": 132,
"g": 62,
"b": 186
},
"hsl": {
"h": 273.871,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.51456,
"c": 0.18937,
"h": 306.8
},
"luminance": 0.11896
}Semantic roles & 50–950 ramp
primary
#843EBA
secondary
#A6C88C
accent
#DA4E8B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82