#843EBC#843EBC
#843EBC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.192 H 306.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #843EBC |
|---|---|
| RGB | rgb(132, 62, 188) |
| HSL | hsl(273, 50%, 49%) |
| HSV | hsv(273, 67%, 74%) |
| CMYK | cmyk(29.8%, 67%, 0%, 26.3%) |
| CIE-LAB | lab(41.19, 52.44, -54.47) |
| CIE-LCH | lch(41.19, 75.61, 313.92°) |
| OKLab | oklab(51.6% 0.1133 -0.1544) |
| OKLCH | oklch(51.6% 0.192 306.3) |
| XYZ | xyz(20.3135, 11.9818, 48.8098) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.03
Purply
#983FB2
ΔE00 4.86
Blueviolet
#8A2BE2
ΔE00 5.51
Royal Purple
#7851A9
ΔE00 5.88
Darkviolet
#9400D3
ΔE00 6.10
Bluey Purple
#6241C7
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843EBC #76BC3E
analogous
#453EBC #843EBC #BC3EB5
triadic
#843EBC #BC843E #3EBC84
tetradic
#843EBC #BC453E #76BC3E #3EB5BC
square
#843EBC #BC453E #76BC3E #3EB5BC
split-complementary
#843EBC #B5BC3E #3EBC45
monochromatic
#432060 #642F8E #843EBC #A16ACE #BE98DD
Accessibility & contrast
On white
6.18
#843EBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#843EBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843EBC
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843EBC | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#1C62B9
Tritanopia (blue-blind)
#7A5978
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #843ebc; /* rgb */ color: rgb(132, 62, 188); /* oklch */ color: oklch(51.6% 0.192 306.3);
Tailwind
colors: {
custom: {
50: '#ac78d1',
500: '#843ebc',
950: '#000000',
},
}SCSS
$custom: #843ebc; $custom-light: #ac78d1; $custom-dark: #000000;
JSON
{
"hex": "#843ebc",
"rgb": {
"r": 132,
"g": 62,
"b": 188
},
"hsl": {
"h": 273.333,
"s": 50.4,
"l": 49.02
},
"oklch": {
"l": 0.51597,
"c": 0.1915,
"h": 306.3
},
"luminance": 0.11982
}Semantic roles & 50–950 ramp
primary
#843EBC
secondary
#A8C98D
accent
#DA4E8C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82