#843FC2#843FC2
#843FC2 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.2% C 0.197 H 304.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #843FC2 |
|---|---|
| RGB | rgb(132, 63, 194) |
| HSL | hsl(272, 52%, 50%) |
| HSV | hsv(272, 68%, 76%) |
| CMYK | cmyk(32%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(41.78, 53.37, -57.02) |
| CIE-LCH | lch(41.78, 78.10, 313.11°) |
| OKLab | oklab(52.15% 0.1115 -0.1619) |
| OKLCH | oklch(52.15% 0.197 304.6) |
| XYZ | xyz(21.0286, 12.3557, 52.3055) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.84
Blueviolet
#8A2BE2
ΔE00 4.80
Purply
#983FB2
ΔE00 5.39
Darkviolet
#9400D3
ΔE00 6.02
Royal Purple
#7851A9
ΔE00 6.17
Bluey Purple
#6241C7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843FC2 #7DC23F
analogous
#423FC2 #843FC2 #C23FBF
triadic
#843FC2 #C2843F #3FC284
tetradic
#843FC2 #C2423F #7DC23F #3FBFC2
square
#843FC2 #C2423F #7DC23F #3FBFC2
split-complementary
#843FC2 #BFC23F #3FC242
monochromatic
#452066 #652F95 #843FC2 #A26DD1 #C09CE0
Accessibility & contrast
On white
6.05
#843FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#843FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843FC2
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843FC2 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0E63BF
Tritanopia (blue-blind)
#785C7B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #843fc2; /* rgb */ color: rgb(132, 63, 194); /* oklch */ color: oklch(52.2% 0.197 304.6);
Tailwind
colors: {
custom: {
50: '#ac79d5',
500: '#843fc2',
950: '#000000',
},
}SCSS
$custom: #843fc2; $custom-light: #ac79d5; $custom-dark: #000000;
JSON
{
"hex": "#843fc2",
"rgb": {
"r": 132,
"g": 63,
"b": 194
},
"hsl": {
"h": 271.603,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.52151,
"c": 0.19661,
"h": 304.6
},
"luminance": 0.12356
}Semantic roles & 50–950 ramp
primary
#843FC2
secondary
#ADCC91
accent
#DB4D90
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83