#843CC4#843CC4
#843CC4 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.203 H 304.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #843CC4 |
|---|---|
| RGB | rgb(132, 60, 196) |
| HSL | hsl(272, 54%, 50%) |
| HSV | hsv(272, 69%, 77%) |
| CMYK | cmyk(32.7%, 69.4%, 0%, 23.1%) |
| CIE-LAB | lab(41.41, 55.26, -58.78) |
| CIE-LCH | lch(41.41, 80.67, 313.23°) |
| OKLab | oklab(51.93% 0.1145 -0.1671) |
| OKLCH | oklch(51.93% 0.203 304.4) |
| XYZ | xyz(21.0931, 12.1229, 53.4426) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.68
Blueviolet
#8A2BE2
ΔE00 4.30
Darkviolet
#9400D3
ΔE00 5.45
Purply
#983FB2
ΔE00 5.68
Bluish Purple
#703BE7
ΔE00 6.01
Bluey Purple
#6241C7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843CC4 #7CC43C
analogous
#403CC4 #843CC4 #C43CC0
triadic
#843CC4 #C4843C #3CC484
tetradic
#843CC4 #C4403C #7CC43C #3CC0C4
square
#843CC4 #C4403C #7CC43C #3CC0C4
split-complementary
#843CC4 #C0C43C #3CC440
monochromatic
#451F67 #642D96 #843CC4 #A26BD2 #BF9AE0
Accessibility & contrast
On white
6.13
#843CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#843CC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843CC4
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843CC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843CC4 | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#785B7C
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #843cc4; /* rgb */ color: rgb(132, 60, 196); /* oklch */ color: oklch(51.9% 0.203 304.4);
Tailwind
colors: {
custom: {
50: '#ad77d7',
500: '#843cc4',
950: '#000000',
},
}SCSS
$custom: #843cc4; $custom-light: #ad77d7; $custom-dark: #000000;
JSON
{
"hex": "#843cc4",
"rgb": {
"r": 132,
"g": 60,
"b": 196
},
"hsl": {
"h": 271.765,
"s": 53.543,
"l": 50.196
},
"oklch": {
"l": 0.51935,
"c": 0.20251,
"h": 304.4
},
"luminance": 0.12123
}Semantic roles & 50–950 ramp
primary
#843CC4
secondary
#ACCC90
accent
#DD4B90
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83