#843FC0#843FC0
#843FC0 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.0% C 0.194 H 305.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #843FC0 |
|---|---|
| RGB | rgb(132, 63, 192) |
| HSL | hsl(272, 51%, 50%) |
| HSV | hsv(272, 67%, 75%) |
| CMYK | cmyk(31.2%, 67.2%, 0%, 24.7%) |
| CIE-LAB | lab(41.64, 52.90, -56.08) |
| CIE-LCH | lch(41.64, 77.10, 313.33°) |
| OKLab | oklab(52.01% 0.1118 -0.1592) |
| OKLCH | oklch(52.01% 0.194 305.1) |
| XYZ | xyz(20.8055, 12.2664, 51.1305) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.90
Blueviolet
#8A2BE2
ΔE00 5.06
Purply
#983FB2
ΔE00 5.19
Royal Purple
#7851A9
ΔE00 6.01
Darkviolet
#9400D3
ΔE00 6.09
Bluey Purple
#6241C7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843FC0 #7BC03F
analogous
#443FC0 #843FC0 #C03FBB
triadic
#843FC0 #C0843F #3FC084
tetradic
#843FC0 #C0443F #7BC03F #3FBBC0
square
#843FC0 #C0443F #7BC03F #3FBBC0
split-complementary
#843FC0 #BBC03F #3FC044
monochromatic
#452164 #643092 #843FC0 #A26DCF #BF9BDE
Accessibility & contrast
On white
6.08
#843FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#843FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843FC0
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843FC0 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#1562BD
Tritanopia (blue-blind)
#795C7A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #843fc0; /* rgb */ color: rgb(132, 63, 192); /* oklch */ color: oklch(52.0% 0.194 305.1);
Tailwind
colors: {
custom: {
50: '#ac79d4',
500: '#843fc0',
950: '#000000',
},
}SCSS
$custom: #843fc0; $custom-light: #ac79d4; $custom-dark: #000000;
JSON
{
"hex": "#843fc0",
"rgb": {
"r": 132,
"g": 63,
"b": 192
},
"hsl": {
"h": 272.093,
"s": 50.588,
"l": 50
},
"oklch": {
"l": 0.52007,
"c": 0.19447,
"h": 305.1
},
"luminance": 0.12266
}Semantic roles & 50–950 ramp
primary
#843FC0
secondary
#ABCA91
accent
#DA4E8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83