#843DC1#843DC1
#843DC1 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.198 H 305.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #843DC1 |
|---|---|
| RGB | rgb(132, 61, 193) |
| HSL | hsl(272, 52%, 50%) |
| HSV | hsv(272, 68%, 76%) |
| CMYK | cmyk(31.6%, 68.4%, 0%, 24.3%) |
| CIE-LAB | lab(41.36, 54.09, -57.11) |
| CIE-LCH | lch(41.36, 78.65, 313.45°) |
| OKLab | oklab(51.83% 0.1138 -0.1621) |
| OKLCH | oklch(51.83% 0.198 305.1) |
| XYZ | xyz(20.8080, 12.0934, 51.6798) |
| Luminance | 0.1209 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.77
Blueviolet
#8A2BE2
ΔE00 4.76
Purply
#983FB2
ΔE00 5.35
Darkviolet
#9400D3
ΔE00 5.71
Bluey Purple
#6241C7
ΔE00 6.27
Royal Purple
#7851A9
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843DC1 #7AC13D
analogous
#423DC1 #843DC1 #C13DBC
triadic
#843DC1 #C1843D #3DC184
tetradic
#843DC1 #C1423D #7AC13D #3DBCC1
square
#843DC1 #C1423D #7AC13D #3DBCC1
split-complementary
#843DC1 #BCC13D #3DC142
monochromatic
#442064 #642E92 #843DC1 #A16BD0 #BF99DF
Accessibility & contrast
On white
6.14
#843DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#843DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843DC1
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843DC1 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0B62BE
Tritanopia (blue-blind)
#795B7A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #843dc1; /* rgb */ color: rgb(132, 61, 193); /* oklch */ color: oklch(51.8% 0.198 305.1);
Tailwind
colors: {
custom: {
50: '#ad78d5',
500: '#843dc1',
950: '#000000',
},
}SCSS
$custom: #843dc1; $custom-light: #ad78d5; $custom-dark: #000000;
JSON
{
"hex": "#843dc1",
"rgb": {
"r": 132,
"g": 61,
"b": 193
},
"hsl": {
"h": 272.273,
"s": 51.969,
"l": 49.804
},
"oklch": {
"l": 0.51834,
"c": 0.1981,
"h": 305.1
},
"luminance": 0.12093
}Semantic roles & 50–950 ramp
primary
#843DC1
secondary
#ABCB8F
accent
#DB4C8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83