#843DCD#843DCD
#843DCD is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.211 H 302.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #843DCD |
|---|---|
| RGB | rgb(132, 61, 205) |
| HSL | hsl(270, 59%, 52%) |
| HSV | hsv(270, 70%, 80%) |
| CMYK | cmyk(35.6%, 70.2%, 0%, 19.6%) |
| CIE-LAB | lab(42.23, 56.93, -62.67) |
| CIE-LCH | lch(42.23, 84.67, 312.25°) |
| OKLab | oklab(52.73% 0.1121 -0.1785) |
| OKLCH | oklch(52.73% 0.211 302.1) |
| XYZ | xyz(22.2013, 12.6507, 59.0180) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.38
Darkorchid
#9932CC
ΔE00 3.83
Bluish Purple
#703BE7
ΔE00 4.88
Violet (survey)
#9A0EEA
ΔE00 5.47
Darkviolet
#9400D3
ΔE00 5.57
Burple
#6832E3
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843DCD #86CD3D
analogous
#3D3ECD #843DCD #CC3DCD
triadic
#843DCD #CD843D #3DCD84
tetradic
#843DCD #CD3D3E #86CD3D #3DCDCC
square
#843DCD #CD3D3E #86CD3D #3DCDCC
split-complementary
#843DCD #CDCC3D #3ECD3D
monochromatic
#471D72 #662AA3 #843DCD #A36EDA #C29EE6
Accessibility & contrast
On white
5.95
#843DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#843DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843DCD
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843DCD | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#755F81
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #843dcd; /* rgb */ color: rgb(132, 61, 205); /* oklch */ color: oklch(52.7% 0.211 302.1);
Tailwind
colors: {
custom: {
50: '#ad78dd',
500: '#843dcd',
950: '#000000',
},
}SCSS
$custom: #843dcd; $custom-light: #ad78dd; $custom-dark: #000000;
JSON
{
"hex": "#843dcd",
"rgb": {
"r": 132,
"g": 61,
"b": 205
},
"hsl": {
"h": 269.583,
"s": 59.016,
"l": 52.157
},
"oklch": {
"l": 0.52726,
"c": 0.21075,
"h": 302.1
},
"luminance": 0.12651
}Semantic roles & 50–950 ramp
primary
#843DCD
secondary
#B3D293
accent
#E24695
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83