#843EBB#843EBB
#843EBB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.190 H 306.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #843EBB |
|---|---|
| RGB | rgb(132, 62, 187) |
| HSL | hsl(274, 50%, 49%) |
| HSV | hsv(274, 67%, 73%) |
| CMYK | cmyk(29.4%, 66.8%, 0%, 26.7%) |
| CIE-LAB | lab(41.12, 52.21, -53.99) |
| CIE-LCH | lch(41.12, 75.11, 314.04°) |
| OKLab | oklab(51.53% 0.1134 -0.153) |
| OKLCH | oklch(51.53% 0.19 306.5) |
| XYZ | xyz(20.2061, 11.9388, 48.2440) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.09
Purply
#983FB2
ΔE00 4.77
Blueviolet
#8A2BE2
ΔE00 5.65
Royal Purple
#7851A9
ΔE00 5.82
Darkviolet
#9400D3
ΔE00 6.16
Bluey Purple
#6241C7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843EBB #75BB3E
analogous
#463EBB #843EBB #BB3EB4
triadic
#843EBB #BB843E #3EBB84
tetradic
#843EBB #BB463E #75BB3E #3EB4BB
square
#843EBB #BB463E #75BB3E #3EB4BB
split-complementary
#843EBB #B4BB3E #3EBB46
monochromatic
#43205F #642F8D #843EBB #A169CD #BE97DC
Accessibility & contrast
On white
6.20
#843EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#843EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #843EBB
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843EBB | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#7B5977
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #843ebb; /* rgb */ color: rgb(132, 62, 187); /* oklch */ color: oklch(51.5% 0.190 306.5);
Tailwind
colors: {
custom: {
50: '#ac78d0',
500: '#843ebb',
950: '#000000',
},
}SCSS
$custom: #843ebb; $custom-light: #ac78d0; $custom-dark: #000000;
JSON
{
"hex": "#843ebb",
"rgb": {
"r": 132,
"g": 62,
"b": 187
},
"hsl": {
"h": 273.6,
"s": 50.201,
"l": 48.824
},
"oklch": {
"l": 0.51526,
"c": 0.19044,
"h": 306.5
},
"luminance": 0.11939
}Semantic roles & 50–950 ramp
primary
#843EBB
secondary
#A7C88D
accent
#DA4E8C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82