#873CCF#873CCF
#873CCF is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.215 H 303.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #873CCF |
|---|---|
| RGB | rgb(135, 60, 207) |
| HSL | hsl(271, 60%, 52%) |
| HSV | hsv(271, 71%, 81%) |
| CMYK | cmyk(34.8%, 71%, 0%, 18.8%) |
| CIE-LAB | lab(42.59, 58.42, -63.22) |
| CIE-LCH | lch(42.59, 86.08, 312.74°) |
| OKLab | oklab(53.11% 0.1168 -0.18) |
| OKLCH | oklch(53.11% 0.215 303) |
| XYZ | xyz(22.8674, 12.8876, 60.3022) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.10
Darkorchid
#9932CC
ΔE00 3.38
Violet (survey)
#9A0EEA
ΔE00 5.04
Bluish Purple
#703BE7
ΔE00 5.05
Darkviolet
#9400D3
ΔE00 5.33
Burple
#6832E3
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873CCF #84CF3C
analogous
#3D3CCF #873CCF #CF3CCE
triadic
#873CCF #CF873C #3CCF87
tetradic
#873CCF #CF3D3C #84CF3C #3CCECF
square
#873CCF #CF3D3C #84CF3C #3CCECF
split-complementary
#873CCF #CECF3C #3CCF3D
monochromatic
#491D74 #6829A5 #873CCF #A56DDB #C39EE7
Accessibility & contrast
On white
5.87
#873CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#873CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873CCF
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873CCF | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#785F82
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #873ccf; /* rgb */ color: rgb(135, 60, 207); /* oklch */ color: oklch(53.1% 0.215 303.0);
Tailwind
colors: {
custom: {
50: '#b078df',
500: '#873ccf',
950: '#000000',
},
}SCSS
$custom: #873ccf; $custom-light: #b078df; $custom-dark: #000000;
JSON
{
"hex": "#873ccf",
"rgb": {
"r": 135,
"g": 60,
"b": 207
},
"hsl": {
"h": 270.612,
"s": 60.494,
"l": 52.353
},
"oklch": {
"l": 0.53111,
"c": 0.21459,
"h": 303
},
"luminance": 0.12888
}Semantic roles & 50–950 ramp
primary
#873CCF
secondary
#B3D393
accent
#E44492
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83