#843FC4#843FC4
#843FC4 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.3% C 0.199 H 304.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #843FC4 |
|---|---|
| RGB | rgb(132, 63, 196) |
| HSL | hsl(271, 53%, 51%) |
| HSV | hsv(271, 68%, 77%) |
| CMYK | cmyk(32.7%, 67.9%, 0%, 23.1%) |
| CIE-LAB | lab(41.92, 53.85, -57.96) |
| CIE-LCH | lch(41.92, 79.11, 312.89°) |
| OKLab | oklab(52.3% 0.1113 -0.1647) |
| OKLCH | oklch(52.3% 0.199 304.1) |
| XYZ | xyz(21.2548, 12.4461, 53.4964) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.81
Blueviolet
#8A2BE2
ΔE00 4.56
Purply
#983FB2
ΔE00 5.59
Darkviolet
#9400D3
ΔE00 5.97
Bluish Purple
#703BE7
ΔE00 6.04
Bluey Purple
#6241C7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843FC4 #7FC43F
analogous
#413FC4 #843FC4 #C43FC1
triadic
#843FC4 #C4843F #3FC484
tetradic
#843FC4 #C4413F #7FC43F #3FC1C4
square
#843FC4 #C4413F #7FC43F #3FC1C4
split-complementary
#843FC4 #C1C43F #3FC441
monochromatic
#462068 #652E97 #843FC4 #A26ED2 #C09DE1
Accessibility & contrast
On white
6.02
#843FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#843FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843FC4
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843FC4 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0663C1
Tritanopia (blue-blind)
#785D7C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #843fc4; /* rgb */ color: rgb(132, 63, 196); /* oklch */ color: oklch(52.3% 0.199 304.1);
Tailwind
colors: {
custom: {
50: '#ad79d7',
500: '#843fc4',
950: '#000000',
},
}SCSS
$custom: #843fc4; $custom-light: #ad79d7; $custom-dark: #000000;
JSON
{
"hex": "#843fc4",
"rgb": {
"r": 132,
"g": 63,
"b": 196
},
"hsl": {
"h": 271.128,
"s": 52.988,
"l": 50.784
},
"oklch": {
"l": 0.52296,
"c": 0.19875,
"h": 304.1
},
"luminance": 0.12446
}Semantic roles & 50–950 ramp
primary
#843FC4
secondary
#AECD92
accent
#DC4B91
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83