#873FBF#873FBF
#873FBF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.194 H 306.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #873FBF |
|---|---|
| RGB | rgb(135, 63, 191) |
| HSL | hsl(274, 50%, 50%) |
| HSV | hsv(274, 67%, 75%) |
| CMYK | cmyk(29.3%, 67%, 0%, 25.1%) |
| CIE-LAB | lab(41.95, 53.31, -54.97) |
| CIE-LCH | lch(41.95, 76.57, 314.12°) |
| OKLab | oklab(52.29% 0.1159 -0.1558) |
| OKLCH | oklch(52.29% 0.194 306.6) |
| XYZ | xyz(21.1711, 12.4677, 50.5713) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.51
Purply
#983FB2
ΔE00 4.57
Blueviolet
#8A2BE2
ΔE00 5.26
Royal Purple
#7851A9
ΔE00 6.04
Darkviolet
#9400D3
ΔE00 6.07
Violet (survey)
#9A0EEA
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873FBF #77BF3F
analogous
#473FBF #873FBF #BF3FB7
triadic
#873FBF #BF873F #3FBF87
tetradic
#873FBF #BF473F #77BF3F #3FB7BF
square
#873FBF #BF473F #77BF3F #3FB7BF
split-complementary
#873FBF #B7BF3F #3FBF47
monochromatic
#462163 #663091 #873FBF #A46DCF #C09BDE
Accessibility & contrast
On white
6.01
#873FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#873FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873FBF
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873FBF | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#1E63BC
Tritanopia (blue-blind)
#7E5B7A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #873fbf; /* rgb */ color: rgb(135, 63, 191); /* oklch */ color: oklch(52.3% 0.194 306.6);
Tailwind
colors: {
custom: {
50: '#ae79d3',
500: '#873fbf',
950: '#000000',
},
}SCSS
$custom: #873fbf; $custom-light: #ae79d3; $custom-dark: #000000;
JSON
{
"hex": "#873fbf",
"rgb": {
"r": 135,
"g": 63,
"b": 191
},
"hsl": {
"h": 273.75,
"s": 50.394,
"l": 49.804
},
"oklch": {
"l": 0.52293,
"c": 0.19416,
"h": 306.6
},
"luminance": 0.12467
}Semantic roles & 50–950 ramp
primary
#873FBF
secondary
#A9CA90
accent
#DA4E8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83