#843DC6#843DC6
#843DC6 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.203 H 303.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #843DC6 |
|---|---|
| RGB | rgb(132, 61, 198) |
| HSL | hsl(271, 55%, 51%) |
| HSV | hsv(271, 69%, 78%) |
| CMYK | cmyk(33.3%, 69.2%, 0%, 22.4%) |
| CIE-LAB | lab(41.72, 55.26, -59.44) |
| CIE-LCH | lch(41.72, 81.16, 312.92°) |
| OKLab | oklab(52.2% 0.1131 -0.169) |
| OKLCH | oklch(52.2% 0.203 303.8) |
| XYZ | xyz(21.3752, 12.3203, 54.6671) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.70
Blueviolet
#8A2BE2
ΔE00 4.14
Darkviolet
#9400D3
ΔE00 5.58
Bluish Purple
#703BE7
ΔE00 5.75
Purply
#983FB2
ΔE00 5.84
Bluey Purple
#6241C7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843DC6 #7FC63D
analogous
#3F3DC6 #843DC6 #C63DC3
triadic
#843DC6 #C6843D #3DC684
tetradic
#843DC6 #C63F3D #7FC63D #3DC3C6
square
#843DC6 #C63F3D #7FC63D #3DC3C6
split-complementary
#843DC6 #C3C63D #3DC63F
monochromatic
#461F6A #652D99 #843DC6 #A26CD4 #C09CE2
Accessibility & contrast
On white
6.06
#843DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#843DC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843DC6
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843DC6 | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#775D7D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #843dc6; /* rgb */ color: rgb(132, 61, 198); /* oklch */ color: oklch(52.2% 0.203 303.8);
Tailwind
colors: {
custom: {
50: '#ad78d8',
500: '#843dc6',
950: '#000000',
},
}SCSS
$custom: #843dc6; $custom-light: #ad78d8; $custom-dark: #000000;
JSON
{
"hex": "#843dc6",
"rgb": {
"r": 132,
"g": 61,
"b": 198
},
"hsl": {
"h": 271.095,
"s": 54.582,
"l": 50.784
},
"oklch": {
"l": 0.52201,
"c": 0.20338,
"h": 303.8
},
"luminance": 0.1232
}Semantic roles & 50–950 ramp
primary
#843DC6
secondary
#AECE91
accent
#DE4A91
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110915
muted
#807B83