#843FBF#843FBF
#843FBF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.193 H 305.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #843FBF |
|---|---|
| RGB | rgb(132, 63, 191) |
| HSL | hsl(272, 50%, 50%) |
| HSV | hsv(272, 67%, 75%) |
| CMYK | cmyk(30.9%, 67%, 0%, 25.1%) |
| CIE-LAB | lab(41.57, 52.67, -55.61) |
| CIE-LCH | lch(41.57, 76.59, 313.44°) |
| OKLab | oklab(51.93% 0.1119 -0.1578) |
| OKLCH | oklch(51.93% 0.193 305.3) |
| XYZ | xyz(20.6951, 12.2223, 50.5490) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.93
Purply
#983FB2
ΔE00 5.10
Blueviolet
#8A2BE2
ΔE00 5.19
Royal Purple
#7851A9
ΔE00 5.94
Darkviolet
#9400D3
ΔE00 6.13
Bluey Purple
#6241C7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843FBF #7ABF3F
analogous
#443FBF #843FBF #BF3FBA
triadic
#843FBF #BF843F #3FBF84
tetradic
#843FBF #BF443F #7ABF3F #3FBABF
square
#843FBF #BF443F #7ABF3F #3FBABF
split-complementary
#843FBF #BABF3F #3FBF44
monochromatic
#442163 #643091 #843FBF #A16DCF #BF9BDE
Accessibility & contrast
On white
6.10
#843FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#843FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843FBF
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843FBF | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#1762BC
Tritanopia (blue-blind)
#795B7A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #843fbf; /* rgb */ color: rgb(132, 63, 191); /* oklch */ color: oklch(51.9% 0.193 305.3);
Tailwind
colors: {
custom: {
50: '#ac79d3',
500: '#843fbf',
950: '#000000',
},
}SCSS
$custom: #843fbf; $custom-light: #ac79d3; $custom-dark: #000000;
JSON
{
"hex": "#843fbf",
"rgb": {
"r": 132,
"g": 63,
"b": 191
},
"hsl": {
"h": 272.344,
"s": 50.394,
"l": 49.804
},
"oklch": {
"l": 0.51935,
"c": 0.1934,
"h": 305.3
},
"luminance": 0.12222
}Semantic roles & 50–950 ramp
primary
#843FBF
secondary
#ABCA90
accent
#DA4E8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83