#9345BF#9345BF
#9345BF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.5% C 0.190 H 311.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9345BF |
|---|---|
| RGB | rgb(147, 69, 191) |
| HSL | hsl(278, 49%, 51%) |
| HSV | hsv(278, 64%, 75%) |
| CMYK | cmyk(23%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(44.55, 53.11, -50.71) |
| CIE-LCH | lch(44.55, 73.43, 316.33°) |
| OKLab | oklab(54.5% 0.1247 -0.1429) |
| OKLCH | oklch(54.5% 0.19 311.1) |
| XYZ | xyz(23.5630, 14.2214, 50.7839) |
| Luminance | 0.1422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.89
Darkorchid
#9932CC
ΔE00 3.47
Barney
#AC1DB8
ΔE00 6.38
Royal Purple
#7851A9
ΔE00 6.41
Medium Purple
#9E43A2
ΔE00 6.42
Deep Lavender
#8D5EB7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9345BF #71BF45
analogous
#5645BF #9345BF #BF45AE
triadic
#9345BF #BF9345 #45BF93
tetradic
#9345BF #BF5645 #71BF45 #45AEBF
square
#9345BF #BF5645 #71BF45 #45AEBF
split-complementary
#9345BF #AEBF45 #45BF56
monochromatic
#4E2366 #713394 #9345BF #AD73CF #C8A0DE
Accessibility & contrast
On white
5.46
#9345BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#9345BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9345BF
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9345BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9345BF | 1.00 | 5.46 | 3.84 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0166C3
Deuteranopia (green-blind)
#386BBC
Tritanopia (blue-blind)
#8E5D7C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9345bf; /* rgb */ color: rgb(147, 69, 191); /* oklch */ color: oklch(54.5% 0.190 311.1);
Tailwind
colors: {
custom: {
50: '#b67dd3',
500: '#9345bf',
950: '#000000',
},
}SCSS
$custom: #9345bf; $custom-light: #b67dd3; $custom-dark: #000000;
JSON
{
"hex": "#9345bf",
"rgb": {
"r": 147,
"g": 69,
"b": 191
},
"hsl": {
"h": 278.361,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.54498,
"c": 0.18967,
"h": 311.1
},
"luminance": 0.14221
}Semantic roles & 50–950 ramp
primary
#9345BF
secondary
#A8CB95
accent
#D84F81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83