#843CCA#843CCA
#843CCA is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.209 H 302.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #843CCA |
|---|---|
| RGB | rgb(132, 60, 202) |
| HSL | hsl(270, 57%, 51%) |
| HSV | hsv(270, 70%, 79%) |
| CMYK | cmyk(34.7%, 70.3%, 0%, 20.8%) |
| CIE-LAB | lab(41.85, 56.67, -61.56) |
| CIE-LCH | lch(41.85, 83.67, 312.63°) |
| OKLab | oklab(52.38% 0.1135 -0.1752) |
| OKLCH | oklch(52.38% 0.209 302.9) |
| XYZ | xyz(21.7898, 12.4015, 57.1114) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.59
Darkorchid
#9932CC
ΔE00 3.71
Bluish Purple
#703BE7
ΔE00 5.23
Darkviolet
#9400D3
ΔE00 5.38
Violet (survey)
#9A0EEA
ΔE00 5.59
Bluey Purple
#6241C7
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843CCA #82CA3C
analogous
#3D3CCA #843CCA #CA3CC9
triadic
#843CCA #CA843C #3CCA84
tetradic
#843CCA #CA3D3C #82CA3C #3CC9CA
square
#843CCA #CA3D3C #82CA3C #3CC9CA
split-complementary
#843CCA #C9CA3C #3CCA3D
monochromatic
#461E6E #652B9E #843CCA #A26CD7 #C19CE4
Accessibility & contrast
On white
6.03
#843CCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#843CCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843CCA
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843CCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843CCA | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#765E7F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #843cca; /* rgb */ color: rgb(132, 60, 202); /* oklch */ color: oklch(52.4% 0.209 302.9);
Tailwind
colors: {
custom: {
50: '#ad78db',
500: '#843cca',
950: '#000000',
},
}SCSS
$custom: #843cca; $custom-light: #ad78db; $custom-dark: #000000;
JSON
{
"hex": "#843cca",
"rgb": {
"r": 132,
"g": 60,
"b": 202
},
"hsl": {
"h": 270.423,
"s": 57.258,
"l": 51.373
},
"oklch": {
"l": 0.52383,
"c": 0.2088,
"h": 302.9
},
"luminance": 0.12402
}Semantic roles & 50–950 ramp
primary
#843CCA
secondary
#B0D092
accent
#E14793
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83