#873BBE#873BBE
#873BBE is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.198 H 307.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #873BBE |
|---|---|
| RGB | rgb(135, 59, 190) |
| HSL | hsl(275, 53%, 49%) |
| HSV | hsv(275, 69%, 75%) |
| CMYK | cmyk(28.9%, 68.9%, 0%, 25.5%) |
| CIE-LAB | lab(41.21, 54.94, -55.58) |
| CIE-LCH | lch(41.21, 78.15, 314.67°) |
| OKLab | oklab(51.74% 0.1204 -0.1575) |
| OKLCH | oklch(51.74% 0.198 307.4) |
| XYZ | xyz(20.8479, 11.9968, 49.9225) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.40
Purply
#983FB2
ΔE00 4.65
Blueviolet
#8A2BE2
ΔE00 5.11
Darkviolet
#9400D3
ΔE00 5.45
Violet (survey)
#9A0EEA
ΔE00 6.53
Royal Purple
#7851A9
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873BBE #72BE3B
analogous
#463BBE #873BBE #BE3BB4
triadic
#873BBE #BE873B #3BBE87
tetradic
#873BBE #BE463B #72BE3B #3BB4BE
square
#873BBE #BE463B #72BE3B #3BB4BE
split-complementary
#873BBE #B4BE3B #3BBE46
monochromatic
#451E61 #662C8F #873BBE #A467D0 #C095DE
Accessibility & contrast
On white
6.18
#873BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#873BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873BBE
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873BBE | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#1862BB
Tritanopia (blue-blind)
#7E5878
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #873bbe; /* rgb */ color: rgb(135, 59, 190); /* oklch */ color: oklch(51.7% 0.198 307.4);
Tailwind
colors: {
custom: {
50: '#ae77d2',
500: '#873bbe',
950: '#000000',
},
}SCSS
$custom: #873bbe; $custom-light: #ae77d2; $custom-dark: #000000;
JSON
{
"hex": "#873bbe",
"rgb": {
"r": 135,
"g": 59,
"b": 190
},
"hsl": {
"h": 274.809,
"s": 52.61,
"l": 48.824
},
"oklch": {
"l": 0.51742,
"c": 0.19826,
"h": 307.4
},
"luminance": 0.11997
}Semantic roles & 50–950 ramp
primary
#873BBE
secondary
#A5CA8B
accent
#DC4C88
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83