#9B46BB#9B46BB
#9B46BB is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.187 H 315.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9B46BB |
|---|---|
| RGB | rgb(155, 70, 187) |
| HSL | hsl(284, 46%, 50%) |
| HSV | hsv(284, 63%, 73%) |
| CMYK | cmyk(17.1%, 62.6%, 0%, 26.7%) |
| CIE-LAB | lab(45.55, 53.67, -46.72) |
| CIE-LCH | lch(45.55, 71.16, 318.97°) |
| OKLab | oklab(55.37% 0.1337 -0.131) |
| OKLCH | oklch(55.37% 0.187 315.6) |
| XYZ | xyz(24.6760, 14.9376, 48.5875) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.20
Darkorchid
#9932CC
ΔE00 4.50
Medium Purple
#9E43A2
ΔE00 4.91
Barney
#AC1DB8
ΔE00 5.60
Ugly Purple
#A442A0
ΔE00 5.93
Amethyst
#9B5FC0
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B46BB #66BB46
analogous
#6146BB #9B46BB #BB46A0
triadic
#9B46BB #BB9B46 #46BB9B
tetradic
#9B46BB #BB6146 #66BB46 #46A0BB
square
#9B46BB #BB6146 #66BB46 #46A0BB
split-complementary
#9B46BB #A0BB46 #46BB61
monochromatic
#512462 #76358F #9B46BB #B373CB #CBA0DC
Accessibility & contrast
On white
5.27
#9B46BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#9B46BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B46BB
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B46BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B46BB | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#995B7A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9b46bb; /* rgb */ color: rgb(155, 70, 187); /* oklch */ color: oklch(55.4% 0.187 315.6);
Tailwind
colors: {
custom: {
50: '#bc7fd0',
500: '#9b46bb',
950: '#000000',
},
}SCSS
$custom: #9b46bb; $custom-light: #bc7fd0; $custom-dark: #000000;
JSON
{
"hex": "#9b46bb",
"rgb": {
"r": 155,
"g": 70,
"b": 187
},
"hsl": {
"h": 283.59,
"s": 46.245,
"l": 50.392
},
"oklch": {
"l": 0.5537,
"c": 0.18718,
"h": 315.6
},
"luminance": 0.14937
}Semantic roles & 50–950 ramp
primary
#9B46BB
secondary
#A3C894
accent
#D65276
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82