#843CAC#843CAC
#843CAC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.177 H 311.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #843CAC |
|---|---|
| RGB | rgb(132, 60, 172) |
| HSL | hsl(279, 48%, 45%) |
| HSV | hsv(279, 65%, 67%) |
| CMYK | cmyk(23.3%, 65.1%, 0%, 32.5%) |
| CIE-LAB | lab(39.78, 49.75, -47.30) |
| CIE-LCH | lch(39.78, 68.65, 316.45°) |
| OKLab | oklab(50.24% 0.1168 -0.1333) |
| OKLCH | oklch(50.24% 0.177 311.2) |
| XYZ | xyz(18.5766, 11.1162, 40.1888) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.11
Darkorchid
#9932CC
ΔE00 5.47
Royal Purple
#7851A9
ΔE00 5.77
Purple (survey)
#7E1E9C
ΔE00 5.90
Rebeccapurple
#663399
ΔE00 6.40
Medium Purple
#9E43A2
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843CAC #64AC3C
analogous
#4C3CAC #843CAC #AC3C9C
triadic
#843CAC #AC843C #3CAC84
tetradic
#843CAC #AC4C3C #64AC3C #3C9CAC
square
#843CAC #AC4C3C #64AC3C #3C9CAC
split-complementary
#843CAC #9CAC3C #3CAC4C
monochromatic
#3E1C51 #612C7F #843CAC #A25EC7 #BC8CD7
Accessibility & contrast
On white
6.52
#843CAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#843CAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843CAC
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843CAC | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#305FA9
Tritanopia (blue-blind)
#7F526F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #843cac; /* rgb */ color: rgb(132, 60, 172); /* oklch */ color: oklch(50.2% 0.177 311.2);
Tailwind
colors: {
custom: {
50: '#ab76c5',
500: '#843cac',
950: '#000000',
},
}SCSS
$custom: #843cac; $custom-light: #ab76c5; $custom-dark: #000000;
JSON
{
"hex": "#843cac",
"rgb": {
"r": 132,
"g": 60,
"b": 172
},
"hsl": {
"h": 278.571,
"s": 48.276,
"l": 45.49
},
"oklch": {
"l": 0.50243,
"c": 0.17729,
"h": 311.2
},
"luminance": 0.11116
}Semantic roles & 50–950 ramp
primary
#843CAC
secondary
#99C182
accent
#D85080
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82