#843FD2#843FD2
#843FD2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.214 H 300.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #843FD2 |
|---|---|
| RGB | rgb(132, 63, 210) |
| HSL | hsl(268, 62%, 54%) |
| HSV | hsv(268, 70%, 82%) |
| CMYK | cmyk(37.1%, 70%, 0%, 17.6%) |
| CIE-LAB | lab(42.93, 57.21, -64.41) |
| CIE-LCH | lch(42.93, 86.15, 311.61°) |
| OKLab | oklab(53.34% 0.1092 -0.1836) |
| OKLCH | oklch(53.34% 0.214 300.7) |
| XYZ | xyz(22.9232, 13.1135, 62.2837) |
| Luminance | 0.1311 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.24
Darkorchid
#9932CC
ΔE00 4.17
Bluish Purple
#703BE7
ΔE00 4.40
Violet (survey)
#9A0EEA
ΔE00 5.41
Burple
#6832E3
ΔE00 5.64
Bluey Purple
#6241C7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843FD2 #8DD23F
analogous
#3F43D2 #843FD2 #CD3FD2
triadic
#843FD2 #D2843F #3FD284
tetradic
#843FD2 #D23F43 #8DD23F #3FD2CD
square
#843FD2 #D23F43 #8DD23F #3FD2CD
split-complementary
#843FD2 #D2CD3F #43D23F
monochromatic
#481D7A #6628AC #843FD2 #A471DE #C4A2E9
Accessibility & contrast
On white
5.80
#843FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#843FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843FD2
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843FD2 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#736284
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #843fd2; /* rgb */ color: rgb(132, 63, 210); /* oklch */ color: oklch(53.3% 0.214 300.7);
Tailwind
colors: {
custom: {
50: '#ae79e1',
500: '#843fd2',
950: '#000000',
},
}SCSS
$custom: #843fd2; $custom-light: #ae79e1; $custom-dark: #000000;
JSON
{
"hex": "#843fd2",
"rgb": {
"r": 132,
"g": 63,
"b": 210
},
"hsl": {
"h": 268.163,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.53342,
"c": 0.21368,
"h": 300.7
},
"luminance": 0.13114
}Semantic roles & 50–950 ramp
primary
#843FD2
secondary
#B8D697
accent
#E54399
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83