#9A46BB#9A46BB
#9A46BB is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.187 H 315.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9A46BB |
|---|---|
| RGB | rgb(154, 70, 187) |
| HSL | hsl(283, 46%, 50%) |
| HSV | hsv(283, 63%, 73%) |
| CMYK | cmyk(17.6%, 62.6%, 0%, 26.7%) |
| CIE-LAB | lab(45.41, 53.43, -46.94) |
| CIE-LCH | lch(45.41, 71.12, 318.70°) |
| OKLab | oklab(55.24% 0.1325 -0.1317) |
| OKLCH | oklch(55.24% 0.187 315.2) |
| XYZ | xyz(24.4848, 14.8390, 48.5785) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.16
Darkorchid
#9932CC
ΔE00 4.40
Medium Purple
#9E43A2
ΔE00 5.00
Barney
#AC1DB8
ΔE00 5.67
Ugly Purple
#A442A0
ΔE00 6.05
Amethyst
#9B5FC0
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A46BB #67BB46
analogous
#5F46BB #9A46BB #BB46A1
triadic
#9A46BB #BB9A46 #46BB9A
tetradic
#9A46BB #BB5F46 #67BB46 #46A1BB
square
#9A46BB #BB5F46 #67BB46 #46A1BB
split-complementary
#9A46BB #A1BB46 #46BB5F
monochromatic
#512462 #76358F #9A46BB #B273CB #CBA0DC
Accessibility & contrast
On white
5.29
#9A46BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#9A46BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A46BB
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A46BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A46BB | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C67BF
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#985B7A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9a46bb; /* rgb */ color: rgb(154, 70, 187); /* oklch */ color: oklch(55.2% 0.187 315.2);
Tailwind
colors: {
custom: {
50: '#bb7fd0',
500: '#9a46bb',
950: '#000000',
},
}SCSS
$custom: #9a46bb; $custom-light: #bb7fd0; $custom-dark: #000000;
JSON
{
"hex": "#9a46bb",
"rgb": {
"r": 154,
"g": 70,
"b": 187
},
"hsl": {
"h": 283.077,
"s": 46.245,
"l": 50.392
},
"oklch": {
"l": 0.55243,
"c": 0.18677,
"h": 315.2
},
"luminance": 0.14838
}Semantic roles & 50–950 ramp
primary
#9A46BB
secondary
#A3C894
accent
#D65277
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82