#9A48BC#9A48BC
#9A48BC is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.185 H 314.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9A48BC |
|---|---|
| RGB | rgb(154, 72, 188) |
| HSL | hsl(282, 46%, 51%) |
| HSV | hsv(282, 62%, 74%) |
| CMYK | cmyk(18.1%, 61.7%, 0%, 26.3%) |
| CIE-LAB | lab(45.82, 52.69, -46.87) |
| CIE-LCH | lch(45.82, 70.52, 318.34°) |
| OKLab | oklab(55.56% 0.13 -0.1315) |
| OKLCH | oklch(55.56% 0.185 314.7) |
| XYZ | xyz(24.7194, 15.1364, 49.1867) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.59
Darkorchid
#9932CC
ΔE00 4.65
Medium Purple
#9E43A2
ΔE00 5.21
Amethyst
#9B5FC0
ΔE00 5.84
Deep Lavender
#8D5EB7
ΔE00 5.92
Barney
#AC1DB8
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A48BC #6ABC48
analogous
#6048BC #9A48BC #BC48A4
triadic
#9A48BC #BC9A48 #48BC9A
tetradic
#9A48BC #BC6048 #6ABC48 #48A4BC
square
#9A48BC #BC6048 #6ABC48 #48A4BC
split-complementary
#9A48BC #A4BC48 #48BC60
monochromatic
#522565 #763592 #9A48BC #B375CC #CBA2DD
Accessibility & contrast
On white
5.21
#9A48BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#9A48BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A48BC
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A48BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A48BC | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#456FB9
Tritanopia (blue-blind)
#975D7B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9a48bc; /* rgb */ color: rgb(154, 72, 188); /* oklch */ color: oklch(55.6% 0.185 314.7);
Tailwind
colors: {
custom: {
50: '#bb80d1',
500: '#9a48bc',
950: '#000000',
},
}SCSS
$custom: #9a48bc; $custom-light: #bb80d1; $custom-dark: #000000;
JSON
{
"hex": "#9a48bc",
"rgb": {
"r": 154,
"g": 72,
"b": 188
},
"hsl": {
"h": 282.414,
"s": 46.4,
"l": 50.98
},
"oklch": {
"l": 0.55557,
"c": 0.18491,
"h": 314.7
},
"luminance": 0.15136
}Semantic roles & 50–950 ramp
primary
#9A48BC
secondary
#A5CA96
accent
#D65279
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82