#873FBD#873FBD
#873FBD is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.2% C 0.192 H 307.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #873FBD |
|---|---|
| RGB | rgb(135, 63, 189) |
| HSL | hsl(274, 50%, 49%) |
| HSV | hsv(274, 67%, 74%) |
| CMYK | cmyk(28.6%, 66.7%, 0%, 25.9%) |
| CIE-LAB | lab(41.81, 52.84, -54.02) |
| CIE-LCH | lch(41.81, 75.57, 314.37°) |
| OKLab | oklab(52.15% 0.1161 -0.153) |
| OKLCH | oklch(52.15% 0.192 307.2) |
| XYZ | xyz(20.9526, 12.3803, 49.4201) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.62
Purply
#983FB2
ΔE00 4.37
Blueviolet
#8A2BE2
ΔE00 5.53
Royal Purple
#7851A9
ΔE00 5.91
Darkviolet
#9400D3
ΔE00 6.17
Violet (survey)
#9A0EEA
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873FBD #75BD3F
analogous
#483FBD #873FBD #BD3FB4
triadic
#873FBD #BD873F #3FBD87
tetradic
#873FBD #BD483F #75BD3F #3FB4BD
square
#873FBD #BD483F #75BD3F #3FB4BD
split-complementary
#873FBD #B4BD3F #3FBD48
monochromatic
#452061 #66308F #873FBD #A46BCE #C099DD
Accessibility & contrast
On white
6.04
#873FBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#873FBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873FBD
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873FBD | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#7E5A79
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #873fbd; /* rgb */ color: rgb(135, 63, 189); /* oklch */ color: oklch(52.2% 0.192 307.2);
Tailwind
colors: {
custom: {
50: '#ae79d2',
500: '#873fbd',
950: '#000000',
},
}SCSS
$custom: #873fbd; $custom-light: #ae79d2; $custom-dark: #000000;
JSON
{
"hex": "#873fbd",
"rgb": {
"r": 135,
"g": 63,
"b": 189
},
"hsl": {
"h": 274.286,
"s": 50,
"l": 49.412
},
"oklch": {
"l": 0.52152,
"c": 0.19204,
"h": 307.2
},
"luminance": 0.1238
}Semantic roles & 50–950 ramp
primary
#873FBD
secondary
#A8C98F
accent
#DA4E8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83