#8140BF#8140BF
#8140BF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.191 H 303.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8140BF |
|---|---|
| RGB | rgb(129, 64, 191) |
| HSL | hsl(271, 50%, 50%) |
| HSV | hsv(271, 66%, 75%) |
| CMYK | cmyk(32.5%, 66.5%, 0%, 25.1%) |
| CIE-LAB | lab(41.37, 51.54, -55.95) |
| CIE-LCH | lch(41.37, 76.07, 312.65°) |
| OKLab | oklab(51.71% 0.1067 -0.1589) |
| OKLCH | oklch(51.71% 0.191 303.9) |
| XYZ | xyz(20.2885, 12.0956, 50.5459) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.44
Blueviolet
#8A2BE2
ΔE00 5.26
Purply
#983FB2
ΔE00 5.61
Royal Purple
#7851A9
ΔE00 5.73
Bluey Purple
#6241C7
ΔE00 5.85
Darkviolet
#9400D3
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8140BF #7EBF40
analogous
#4240BF #8140BF #BF40BD
triadic
#8140BF #BF8140 #40BF81
tetradic
#8140BF #BF4240 #7EBF40 #40BDBF
square
#8140BF #BF4240 #7EBF40 #40BDBF
split-complementary
#8140BF #BDBF40 #40BF42
monochromatic
#432163 #623191 #8140BF #9F6ECE #BD9CDE
Accessibility & contrast
On white
6.14
#8140BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#8140BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8140BF
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8140BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8140BF | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#1261BC
Tritanopia (blue-blind)
#755C7A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8140bf; /* rgb */ color: rgb(129, 64, 191); /* oklch */ color: oklch(51.7% 0.191 303.9);
Tailwind
colors: {
custom: {
50: '#aa79d3',
500: '#8140bf',
950: '#000000',
},
}SCSS
$custom: #8140bf; $custom-light: #aa79d3; $custom-dark: #000000;
JSON
{
"hex": "#8140bf",
"rgb": {
"r": 129,
"g": 64,
"b": 191
},
"hsl": {
"h": 270.709,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.5171,
"c": 0.19138,
"h": 303.9
},
"luminance": 0.12096
}Semantic roles & 50–950 ramp
primary
#8140BF
secondary
#ADCA91
accent
#D94E92
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83