#843DC0#843DC0
#843DC0 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.8% C 0.197 H 305.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #843DC0 |
|---|---|
| RGB | rgb(132, 61, 192) |
| HSL | hsl(273, 52%, 50%) |
| HSV | hsv(273, 68%, 75%) |
| CMYK | cmyk(31.2%, 68.2%, 0%, 24.7%) |
| CIE-LAB | lab(41.29, 53.85, -56.64) |
| CIE-LCH | lch(41.29, 78.15, 313.56°) |
| OKLab | oklab(51.76% 0.1139 -0.1608) |
| OKLCH | oklch(51.76% 0.197 305.3) |
| XYZ | xyz(20.6968, 12.0489, 51.0943) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.81
Blueviolet
#8A2BE2
ΔE00 4.89
Purply
#983FB2
ΔE00 5.26
Darkviolet
#9400D3
ΔE00 5.74
Royal Purple
#7851A9
ΔE00 6.31
Bluey Purple
#6241C7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843DC0 #79C03D
analogous
#423DC0 #843DC0 #C03DBB
triadic
#843DC0 #C0843D #3DC084
tetradic
#843DC0 #C0423D #79C03D #3DBBC0
square
#843DC0 #C0423D #79C03D #3DBBC0
split-complementary
#843DC0 #BBC03D #3DC042
monochromatic
#441F63 #642E92 #843DC0 #A16AD0 #BF99DF
Accessibility & contrast
On white
6.16
#843DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#843DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843DC0
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843DC0 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0F62BD
Tritanopia (blue-blind)
#795A7A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #843dc0; /* rgb */ color: rgb(132, 61, 192); /* oklch */ color: oklch(51.8% 0.197 305.3);
Tailwind
colors: {
custom: {
50: '#ac78d4',
500: '#843dc0',
950: '#000000',
},
}SCSS
$custom: #843dc0; $custom-light: #ac78d4; $custom-dark: #000000;
JSON
{
"hex": "#843dc0",
"rgb": {
"r": 132,
"g": 61,
"b": 192
},
"hsl": {
"h": 272.519,
"s": 51.779,
"l": 49.608
},
"oklch": {
"l": 0.51761,
"c": 0.19704,
"h": 305.3
},
"luminance": 0.12049
}Semantic roles & 50–950 ramp
primary
#843DC0
secondary
#AACA8E
accent
#DB4D8E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83