#9545BF#9545BF
#9545BF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.190 H 312.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9545BF |
|---|---|
| RGB | rgb(149, 69, 191) |
| HSL | hsl(279, 49%, 51%) |
| HSV | hsv(279, 64%, 75%) |
| CMYK | cmyk(22%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(44.81, 53.58, -50.27) |
| CIE-LCH | lch(44.81, 73.47, 316.82°) |
| OKLab | oklab(54.75% 0.1273 -0.1416) |
| OKLCH | oklch(54.75% 0.19 312) |
| XYZ | xyz(23.9248, 14.4080, 50.8008) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.72
Darkorchid
#9932CC
ΔE00 3.52
Barney
#AC1DB8
ΔE00 6.17
Medium Purple
#9E43A2
ΔE00 6.18
Deep Lavender
#8D5EB7
ΔE00 6.47
Royal Purple
#7851A9
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9545BF #6FBF45
analogous
#5845BF #9545BF #BF45AC
triadic
#9545BF #BF9545 #45BF95
tetradic
#9545BF #BF5845 #6FBF45 #45ACBF
square
#9545BF #BF5845 #6FBF45 #45ACBF
split-complementary
#9545BF #ACBF45 #45BF58
monochromatic
#4F2366 #733394 #9545BF #AF73CF #C9A0DE
Accessibility & contrast
On white
5.41
#9545BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#9545BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9545BF
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9545BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9545BF | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0666C3
Deuteranopia (green-blind)
#3A6CBC
Tritanopia (blue-blind)
#905D7C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9545bf; /* rgb */ color: rgb(149, 69, 191); /* oklch */ color: oklch(54.7% 0.190 312.0);
Tailwind
colors: {
custom: {
50: '#b87ed3',
500: '#9545bf',
950: '#000000',
},
}SCSS
$custom: #9545bf; $custom-light: #b87ed3; $custom-dark: #000000;
JSON
{
"hex": "#9545bf",
"rgb": {
"r": 149,
"g": 69,
"b": 191
},
"hsl": {
"h": 279.344,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.54745,
"c": 0.19036,
"h": 312
},
"luminance": 0.14407
}Semantic roles & 50–950 ramp
primary
#9545BF
secondary
#A7CB95
accent
#D84F7F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83