#843FC9#843FC9
#843FC9 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.204 H 302.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #843FC9 |
|---|---|
| RGB | rgb(132, 63, 201) |
| HSL | hsl(270, 56%, 52%) |
| HSV | hsv(270, 69%, 79%) |
| CMYK | cmyk(34.3%, 68.7%, 0%, 21.2%) |
| CIE-LAB | lab(42.27, 55.04, -60.29) |
| CIE-LCH | lch(42.27, 81.63, 312.40°) |
| OKLab | oklab(52.66% 0.1106 -0.1715) |
| OKLCH | oklch(52.66% 0.204 302.8) |
| XYZ | xyz(21.8334, 12.6776, 56.5438) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.83
Blueviolet
#8A2BE2
ΔE00 4.00
Bluish Purple
#703BE7
ΔE00 5.40
Darkviolet
#9400D3
ΔE00 5.91
Bluey Purple
#6241C7
ΔE00 5.92
Violet (survey)
#9A0EEA
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843FC9 #84C93F
analogous
#3F3FC9 #843FC9 #C93FC9
triadic
#843FC9 #C9843F #3FC984
tetradic
#843FC9 #C93F3F #84C93F #3FC9C9
square
#843FC9 #C93F3F #84C93F #3FC9C9
split-complementary
#843FC9 #C9C93F #3FC93F
monochromatic
#471F6F #652D9E #843FC9 #A36FD6 #C19FE4
Accessibility & contrast
On white
5.94
#843FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#843FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843FC9
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843FC9 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#765F7F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #843fc9; /* rgb */ color: rgb(132, 63, 201); /* oklch */ color: oklch(52.7% 0.204 302.8);
Tailwind
colors: {
custom: {
50: '#ad79da',
500: '#843fc9',
950: '#000000',
},
}SCSS
$custom: #843fc9; $custom-light: #ad79da; $custom-dark: #000000;
JSON
{
"hex": "#843fc9",
"rgb": {
"r": 132,
"g": 63,
"b": 201
},
"hsl": {
"h": 270,
"s": 56.098,
"l": 51.765
},
"oklch": {
"l": 0.52664,
"c": 0.20409,
"h": 302.8
},
"luminance": 0.12678
}Semantic roles & 50–950 ramp
primary
#843FC9
secondary
#B2D094
accent
#DF4894
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83