#873BBB#873BBB
#873BBB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.195 H 308.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #873BBB |
|---|---|
| RGB | rgb(135, 59, 187) |
| HSL | hsl(276, 52%, 48%) |
| HSV | hsv(276, 68%, 73%) |
| CMYK | cmyk(27.8%, 68.4%, 0%, 26.7%) |
| CIE-LAB | lab(41.00, 54.26, -54.16) |
| CIE-LCH | lch(41.00, 76.66, 315.05°) |
| OKLab | oklab(51.53% 0.1207 -0.1534) |
| OKLCH | oklch(51.53% 0.195 308.2) |
| XYZ | xyz(20.5234, 11.8670, 48.2135) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.60
Purply
#983FB2
ΔE00 4.38
Blueviolet
#8A2BE2
ΔE00 5.54
Darkviolet
#9400D3
ΔE00 5.64
Royal Purple
#7851A9
ΔE00 6.40
Violet (survey)
#9A0EEA
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873BBB #6FBB3B
analogous
#473BBB #873BBB #BB3BAF
triadic
#873BBB #BB873B #3BBB87
tetradic
#873BBB #BB473B #6FBB3B #3BAFBB
square
#873BBB #BB473B #6FBB3B #3BAFBB
split-complementary
#873BBB #AFBB3B #3BBB47
monochromatic
#441E5E #652C8C #873BBB #A365CE #BF93DD
Accessibility & contrast
On white
6.23
#873BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#873BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873BBB
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873BBB | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#1F61B8
Tritanopia (blue-blind)
#7F5776
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #873bbb; /* rgb */ color: rgb(135, 59, 187); /* oklch */ color: oklch(51.5% 0.195 308.2);
Tailwind
colors: {
custom: {
50: '#ae77d0',
500: '#873bbb',
950: '#000000',
},
}SCSS
$custom: #873bbb; $custom-light: #ae77d0; $custom-dark: #000000;
JSON
{
"hex": "#873bbb",
"rgb": {
"r": 135,
"g": 59,
"b": 187
},
"hsl": {
"h": 275.625,
"s": 52.033,
"l": 48.235
},
"oklch": {
"l": 0.51528,
"c": 0.19517,
"h": 308.2
},
"luminance": 0.11867
}Semantic roles & 50–950 ramp
primary
#873BBB
secondary
#A3C88A
accent
#DB4C86
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82