#9140BF#9140BF
#9140BF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.6% C 0.196 H 310.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9140BF |
|---|---|
| RGB | rgb(145, 64, 191) |
| HSL | hsl(278, 50%, 50%) |
| HSV | hsv(278, 66%, 75%) |
| CMYK | cmyk(24.1%, 66.5%, 0%, 25.1%) |
| CIE-LAB | lab(43.43, 55.01, -52.52) |
| CIE-LCH | lch(43.43, 76.06, 316.33°) |
| OKLab | oklab(53.64% 0.1279 -0.1482) |
| OKLCH | oklch(53.64% 0.196 310.8) |
| XYZ | xyz(22.9126, 13.4486, 50.6690) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.71
Purply
#983FB2
ΔE00 2.95
Barney
#AC1DB8
ΔE00 6.04
Blueviolet
#8A2BE2
ΔE00 6.04
Vibrant Purple
#AD03DE
ΔE00 6.34
Darkviolet
#9400D3
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9140BF #6EBF40
analogous
#5240BF #9140BF #BF40AD
triadic
#9140BF #BF9140 #40BF91
tetradic
#9140BF #BF5240 #6EBF40 #40ADBF
square
#9140BF #BF5240 #6EBF40 #40ADBF
split-complementary
#9140BF #ADBF40 #40BF52
monochromatic
#4B2163 #6E3191 #9140BF #AB6ECE #C69CDE
Accessibility & contrast
On white
5.69
#9140BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#9140BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9140BF
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9140BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9140BF | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#3068BC
Tritanopia (blue-blind)
#8B5A7A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9140bf; /* rgb */ color: rgb(145, 64, 191); /* oklch */ color: oklch(53.6% 0.196 310.8);
Tailwind
colors: {
custom: {
50: '#b57ad3',
500: '#9140bf',
950: '#000000',
},
}SCSS
$custom: #9140bf; $custom-light: #b57ad3; $custom-dark: #000000;
JSON
{
"hex": "#9140bf",
"rgb": {
"r": 145,
"g": 64,
"b": 191
},
"hsl": {
"h": 278.268,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.53637,
"c": 0.1958,
"h": 310.8
},
"luminance": 0.13448
}Semantic roles & 50–950 ramp
primary
#9140BF
secondary
#A6CA91
accent
#D94E81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83