#843BBD#843BBD
#843BBD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.196 H 306.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #843BBD |
|---|---|
| RGB | rgb(132, 59, 189) |
| HSL | hsl(274, 52%, 49%) |
| HSV | hsv(274, 69%, 74%) |
| CMYK | cmyk(30.2%, 68.8%, 0%, 25.9%) |
| CIE-LAB | lab(40.75, 54.09, -55.76) |
| CIE-LCH | lch(40.75, 77.69, 314.13°) |
| OKLab | oklab(51.3% 0.1165 -0.1582) |
| OKLCH | oklch(51.3% 0.196 306.4) |
| XYZ | xyz(20.2630, 11.7078, 49.3266) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.89
Purply
#983FB2
ΔE00 5.09
Blueviolet
#8A2BE2
ΔE00 5.18
Darkviolet
#9400D3
ΔE00 5.57
Royal Purple
#7851A9
ΔE00 6.42
Bluey Purple
#6241C7
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843BBD #74BD3B
analogous
#433BBD #843BBD #BD3BB5
triadic
#843BBD #BD843B #3BBD84
tetradic
#843BBD #BD433B #74BD3B #3BB5BD
square
#843BBD #BD433B #74BD3B #3BB5BD
split-complementary
#843BBD #B5BD3B #3BBD43
monochromatic
#431E60 #632C8E #843BBD #A166CF #BE95DE
Accessibility & contrast
On white
6.28
#843BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#843BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843BBD
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843BBD | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#1360BA
Tritanopia (blue-blind)
#7A5877
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #843bbd; /* rgb */ color: rgb(132, 59, 189); /* oklch */ color: oklch(51.3% 0.196 306.4);
Tailwind
colors: {
custom: {
50: '#ac76d2',
500: '#843bbd',
950: '#000000',
},
}SCSS
$custom: #843bbd; $custom-light: #ac76d2; $custom-dark: #000000;
JSON
{
"hex": "#843bbd",
"rgb": {
"r": 132,
"g": 59,
"b": 189
},
"hsl": {
"h": 273.692,
"s": 52.419,
"l": 48.627
},
"oklch": {
"l": 0.51304,
"c": 0.19643,
"h": 306.4
},
"luminance": 0.11708
}Semantic roles & 50–950 ramp
primary
#843BBD
secondary
#A6C98B
accent
#DC4C8B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83