#9546BF#9546BF
#9546BF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.9% C 0.189 H 311.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9546BF |
|---|---|
| RGB | rgb(149, 70, 191) |
| HSL | hsl(279, 49%, 51%) |
| HSV | hsv(279, 63%, 75%) |
| CMYK | cmyk(22%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(44.99, 53.10, -49.99) |
| CIE-LCH | lch(44.99, 72.93, 316.73°) |
| OKLab | oklab(54.87% 0.1261 -0.1407) |
| OKLCH | oklch(54.87% 0.189 311.9) |
| XYZ | xyz(23.9868, 14.5321, 50.8215) |
| Luminance | 0.1453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.82
Darkorchid
#9932CC
ΔE00 3.71
Medium Purple
#9E43A2
ΔE00 6.18
Deep Lavender
#8D5EB7
ΔE00 6.27
Barney
#AC1DB8
ΔE00 6.31
Royal Purple
#7851A9
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9546BF #70BF46
analogous
#5846BF #9546BF #BF46AC
triadic
#9546BF #BF9546 #46BF95
tetradic
#9546BF #BF5846 #70BF46 #46ACBF
square
#9546BF #BF5846 #70BF46 #46ACBF
split-complementary
#9546BF #ACBF46 #46BF58
monochromatic
#502467 #733394 #9546BF #AF73CF #C9A1DE
Accessibility & contrast
On white
5.38
#9546BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#9546BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9546BF
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9546BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9546BF | 1.00 | 5.38 | 3.91 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B67C3
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#905D7C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9546bf; /* rgb */ color: rgb(149, 70, 191); /* oklch */ color: oklch(54.9% 0.189 311.9);
Tailwind
colors: {
custom: {
50: '#b87ed3',
500: '#9546bf',
950: '#000000',
},
}SCSS
$custom: #9546bf; $custom-light: #b87ed3; $custom-dark: #000000;
JSON
{
"hex": "#9546bf",
"rgb": {
"r": 149,
"g": 70,
"b": 191
},
"hsl": {
"h": 279.174,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.54871,
"c": 0.18896,
"h": 311.9
},
"luminance": 0.14531
}Semantic roles & 50–950 ramp
primary
#9546BF
secondary
#A8CB96
accent
#D8507F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83