#843DC2#843DC2
#843DC2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.9% C 0.199 H 304.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #843DC2 |
|---|---|
| RGB | rgb(132, 61, 194) |
| HSL | hsl(272, 52%, 50%) |
| HSV | hsv(272, 69%, 76%) |
| CMYK | cmyk(32%, 68.6%, 0%, 23.9%) |
| CIE-LAB | lab(41.43, 54.32, -57.57) |
| CIE-LCH | lch(41.43, 79.16, 313.34°) |
| OKLab | oklab(51.91% 0.1137 -0.1635) |
| OKLCH | oklch(51.91% 0.199 304.8) |
| XYZ | xyz(20.9199, 12.1382, 52.2693) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.75
Blueviolet
#8A2BE2
ΔE00 4.63
Purply
#983FB2
ΔE00 5.45
Darkviolet
#9400D3
ΔE00 5.67
Bluey Purple
#6241C7
ΔE00 6.21
Bluish Purple
#703BE7
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843DC2 #7BC23D
analogous
#413DC2 #843DC2 #C23DBE
triadic
#843DC2 #C2843D #3DC284
tetradic
#843DC2 #C2413D #7BC23D #3DBEC2
square
#843DC2 #C2413D #7BC23D #3DBEC2
split-complementary
#843DC2 #BEC23D #3DC241
monochromatic
#452065 #642E93 #843DC2 #A26CD1 #BF9ADF
Accessibility & contrast
On white
6.13
#843DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#843DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843DC2
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843DC2 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0662BF
Tritanopia (blue-blind)
#795B7B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #843dc2; /* rgb */ color: rgb(132, 61, 194); /* oklch */ color: oklch(51.9% 0.199 304.8);
Tailwind
colors: {
custom: {
50: '#ad78d5',
500: '#843dc2',
950: '#000000',
},
}SCSS
$custom: #843dc2; $custom-light: #ad78d5; $custom-dark: #000000;
JSON
{
"hex": "#843dc2",
"rgb": {
"r": 132,
"g": 61,
"b": 194
},
"hsl": {
"h": 272.03,
"s": 52.157,
"l": 50
},
"oklch": {
"l": 0.51907,
"c": 0.19915,
"h": 304.8
},
"luminance": 0.12138
}Semantic roles & 50–950 ramp
primary
#843DC2
secondary
#ABCB90
accent
#DC4C8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83