#9B45BF#9B45BF
#9B45BF is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.193 H 314.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9B45BF |
|---|---|
| RGB | rgb(155, 69, 191) |
| HSL | hsl(282, 49%, 51%) |
| HSV | hsv(282, 64%, 75%) |
| CMYK | cmyk(18.8%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(45.62, 54.98, -48.94) |
| CIE-LCH | lch(45.62, 73.60, 318.33°) |
| OKLab | oklab(55.5% 0.1349 -0.1375) |
| OKLCH | oklch(55.5% 0.193 314.4) |
| XYZ | xyz(25.0481, 14.9872, 50.8535) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.57
Darkorchid
#9932CC
ΔE00 3.94
Medium Purple
#9E43A2
ΔE00 5.57
Barney
#AC1DB8
ΔE00 5.65
Amethyst
#9B5FC0
ΔE00 6.37
Deep Lavender
#8D5EB7
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B45BF #69BF45
analogous
#5E45BF #9B45BF #BF45A6
triadic
#9B45BF #BF9B45 #45BF9B
tetradic
#9B45BF #BF5E45 #69BF45 #45A6BF
square
#9B45BF #BF5E45 #69BF45 #45A6BF
split-complementary
#9B45BF #A6BF45 #45BF5E
monochromatic
#532366 #773394 #9B45BF #B373CF #CCA0DE
Accessibility & contrast
On white
5.25
#9B45BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#9B45BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B45BF
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B45BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B45BF | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#416EBC
Tritanopia (blue-blind)
#985C7C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9b45bf; /* rgb */ color: rgb(155, 69, 191); /* oklch */ color: oklch(55.5% 0.193 314.4);
Tailwind
colors: {
custom: {
50: '#bc7ed3',
500: '#9b45bf',
950: '#000000',
},
}SCSS
$custom: #9b45bf; $custom-light: #bc7ed3; $custom-dark: #000000;
JSON
{
"hex": "#9b45bf",
"rgb": {
"r": 155,
"g": 69,
"b": 191
},
"hsl": {
"h": 282.295,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.55496,
"c": 0.19258,
"h": 314.4
},
"luminance": 0.14986
}Semantic roles & 50–950 ramp
primary
#9B45BF
secondary
#A5CB95
accent
#D84F78
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83