#9B48BB#9B48BB
#9B48BB is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.6% C 0.184 H 315.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9B48BB |
|---|---|
| RGB | rgb(155, 72, 187) |
| HSL | hsl(283, 46%, 51%) |
| HSV | hsv(283, 61%, 73%) |
| CMYK | cmyk(17.1%, 61.5%, 0%, 26.7%) |
| CIE-LAB | lab(45.90, 52.72, -46.16) |
| CIE-LCH | lch(45.90, 70.08, 318.80°) |
| OKLab | oklab(55.62% 0.1313 -0.1294) |
| OKLCH | oklch(55.62% 0.184 315.4) |
| XYZ | xyz(24.8032, 15.1920, 48.6299) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.53
Darkorchid
#9932CC
ΔE00 4.84
Medium Purple
#9E43A2
ΔE00 4.96
Amethyst
#9B5FC0
ΔE00 5.81
Ugly Purple
#A442A0
ΔE00 5.95
Barney
#AC1DB8
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B48BB #68BB48
analogous
#6148BB #9B48BB #BB48A2
triadic
#9B48BB #BB9B48 #48BB9B
tetradic
#9B48BB #BB6148 #68BB48 #48A2BB
square
#9B48BB #BB6148 #68BB48 #48A2BB
split-complementary
#9B48BB #A2BB48 #48BB61
monochromatic
#522564 #773690 #9B48BB #B375CC #CCA1DC
Accessibility & contrast
On white
5.20
#9B48BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#9B48BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B48BB
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B48BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B48BB | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#995C7B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9b48bb; /* rgb */ color: rgb(155, 72, 187); /* oklch */ color: oklch(55.6% 0.184 315.4);
Tailwind
colors: {
custom: {
50: '#bb80d0',
500: '#9b48bb',
950: '#000000',
},
}SCSS
$custom: #9b48bb; $custom-light: #bb80d0; $custom-dark: #000000;
JSON
{
"hex": "#9b48bb",
"rgb": {
"r": 155,
"g": 72,
"b": 187
},
"hsl": {
"h": 283.304,
"s": 45.817,
"l": 50.784
},
"oklch": {
"l": 0.55622,
"c": 0.18431,
"h": 315.4
},
"luminance": 0.15191
}Semantic roles & 50–950 ramp
primary
#9B48BB
secondary
#A4C996
accent
#D55277
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82