#9B45BB#9B45BB
#9B45BB is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.189 H 315.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9B45BB |
|---|---|
| RGB | rgb(155, 69, 187) |
| HSL | hsl(284, 46%, 50%) |
| HSV | hsv(284, 63%, 73%) |
| CMYK | cmyk(17.1%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(45.38, 54.14, -46.99) |
| CIE-LCH | lch(45.38, 71.69, 319.05°) |
| OKLab | oklab(55.25% 0.1349 -0.1318) |
| OKLCH | oklch(55.25% 0.189 315.7) |
| XYZ | xyz(24.6139, 14.8135, 48.5668) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.05
Darkorchid
#9932CC
ΔE00 4.33
Medium Purple
#9E43A2
ΔE00 4.90
Barney
#AC1DB8
ΔE00 5.43
Ugly Purple
#A442A0
ΔE00 5.93
Amethyst
#9B5FC0
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B45BB #65BB45
analogous
#6045BB #9B45BB #BB45A0
triadic
#9B45BB #BB9B45 #45BB9B
tetradic
#9B45BB #BB6045 #65BB45 #45A0BB
square
#9B45BB #BB6045 #65BB45 #45A0BB
split-complementary
#9B45BB #A0BB45 #45BB60
monochromatic
#512462 #76348F #9B45BB #B372CB #CB9FDC
Accessibility & contrast
On white
5.30
#9B45BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#9B45BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B45BB
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B45BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B45BB | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B66BF
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#995A7A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9b45bb; /* rgb */ color: rgb(155, 69, 187); /* oklch */ color: oklch(55.2% 0.189 315.7);
Tailwind
colors: {
custom: {
50: '#bc7ed0',
500: '#9b45bb',
950: '#000000',
},
}SCSS
$custom: #9b45bb; $custom-light: #bc7ed0; $custom-dark: #000000;
JSON
{
"hex": "#9b45bb",
"rgb": {
"r": 155,
"g": 69,
"b": 187
},
"hsl": {
"h": 283.729,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.55246,
"c": 0.1886,
"h": 315.7
},
"luminance": 0.14813
}Semantic roles & 50–950 ramp
primary
#9B45BB
secondary
#A2C894
accent
#D65276
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82