#843FCA#843FCA
#843FCA is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.205 H 302.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #843FCA |
|---|---|
| RGB | rgb(132, 63, 202) |
| HSL | hsl(270, 57%, 52%) |
| HSV | hsv(270, 69%, 79%) |
| CMYK | cmyk(34.7%, 68.8%, 0%, 20.8%) |
| CIE-LAB | lab(42.35, 55.28, -60.75) |
| CIE-LCH | lch(42.35, 82.14, 312.30°) |
| OKLab | oklab(52.74% 0.1105 -0.1729) |
| OKLCH | oklch(52.74% 0.205 302.6) |
| XYZ | xyz(21.9514, 12.7248, 57.1653) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.85
Blueviolet
#8A2BE2
ΔE00 3.90
Bluish Purple
#703BE7
ΔE00 5.28
Bluey Purple
#6241C7
ΔE00 5.89
Violet (survey)
#9A0EEA
ΔE00 5.89
Darkviolet
#9400D3
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843FCA #85CA3F
analogous
#3F40CA #843FCA #CA3FCA
triadic
#843FCA #CA843F #3FCA84
tetradic
#843FCA #CA3F40 #85CA3F #3FCACA
square
#843FCA #CA3F40 #85CA3F #3FCACA
split-complementary
#843FCA #CACA3F #40CA3F
monochromatic
#471F70 #652CA0 #843FCA #A36FD7 #C19FE4
Accessibility & contrast
On white
5.92
#843FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#843FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843FCA
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843FCA | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#765F80
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #843fca; /* rgb */ color: rgb(132, 63, 202); /* oklch */ color: oklch(52.7% 0.205 302.6);
Tailwind
colors: {
custom: {
50: '#ad79db',
500: '#843fca',
950: '#000000',
},
}SCSS
$custom: #843fca; $custom-light: #ad79db; $custom-dark: #000000;
JSON
{
"hex": "#843fca",
"rgb": {
"r": 132,
"g": 63,
"b": 202
},
"hsl": {
"h": 269.784,
"s": 56.735,
"l": 51.961
},
"oklch": {
"l": 0.52738,
"c": 0.20516,
"h": 302.6
},
"luminance": 0.12725
}Semantic roles & 50–950 ramp
primary
#843FCA
secondary
#B3D194
accent
#E04894
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83