#9340BF#9340BF
#9340BF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.9% C 0.196 H 311.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9340BF |
|---|---|
| RGB | rgb(147, 64, 191) |
| HSL | hsl(279, 50%, 50%) |
| HSV | hsv(279, 66%, 75%) |
| CMYK | cmyk(23%, 66.5%, 0%, 25.1%) |
| CIE-LAB | lab(43.70, 55.45, -52.07) |
| CIE-LCH | lch(43.70, 76.07, 316.80°) |
| OKLab | oklab(53.89% 0.1305 -0.1469) |
| OKLCH | oklch(53.89% 0.196 311.6) |
| XYZ | xyz(23.2683, 13.6320, 50.6856) |
| Luminance | 0.1363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.69
Purply
#983FB2
ΔE00 2.70
Barney
#AC1DB8
ΔE00 5.77
Vibrant Purple
#AD03DE
ΔE00 6.20
Blueviolet
#8A2BE2
ΔE00 6.25
Medium Purple
#9E43A2
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9340BF #6CBF40
analogous
#5440BF #9340BF #BF40AB
triadic
#9340BF #BF9340 #40BF93
tetradic
#9340BF #BF5440 #6CBF40 #40ABBF
square
#9340BF #BF5440 #6CBF40 #40ABBF
split-complementary
#9340BF #ABBF40 #40BF54
monochromatic
#4C2163 #703191 #9340BF #AD6ECE #C79CDE
Accessibility & contrast
On white
5.64
#9340BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#9340BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9340BF
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9340BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9340BF | 1.00 | 5.64 | 3.73 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#8E5A7A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9340bf; /* rgb */ color: rgb(147, 64, 191); /* oklch */ color: oklch(53.9% 0.196 311.6);
Tailwind
colors: {
custom: {
50: '#b67bd3',
500: '#9340bf',
950: '#000000',
},
}SCSS
$custom: #9340bf; $custom-light: #b67bd3; $custom-dark: #000000;
JSON
{
"hex": "#9340bf",
"rgb": {
"r": 147,
"g": 64,
"b": 191
},
"hsl": {
"h": 279.213,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.53887,
"c": 0.19647,
"h": 311.6
},
"luminance": 0.13631
}Semantic roles & 50–950 ramp
primary
#9340BF
secondary
#A5CA91
accent
#D94E7F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83