#9A48BE#9A48BE
#9A48BE is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.7% C 0.187 H 314.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9A48BE |
|---|---|
| RGB | rgb(154, 72, 190) |
| HSL | hsl(282, 48%, 51%) |
| HSV | hsv(282, 62%, 75%) |
| CMYK | cmyk(18.9%, 62.1%, 0%, 25.5%) |
| CIE-LAB | lab(45.94, 53.11, -47.85) |
| CIE-LCH | lch(45.94, 71.49, 317.98°) |
| OKLab | oklab(55.68% 0.13 -0.1343) |
| OKLCH | oklch(55.68% 0.187 314.1) |
| XYZ | xyz(24.9365, 15.2232, 50.3300) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.82
Darkorchid
#9932CC
ΔE00 4.48
Medium Purple
#9E43A2
ΔE00 5.55
Amethyst
#9B5FC0
ΔE00 5.81
Deep Lavender
#8D5EB7
ΔE00 5.93
Barney
#AC1DB8
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A48BE #6CBE48
analogous
#5F48BE #9A48BE #BE48A7
triadic
#9A48BE #BE9A48 #48BE9A
tetradic
#9A48BE #BE5F48 #6CBE48 #48A7BE
square
#9A48BE #BE5F48 #6CBE48 #48A7BE
split-complementary
#9A48BE #A7BE48 #48BE5F
monochromatic
#532567 #773594 #9A48BE #B375CE #CCA2DE
Accessibility & contrast
On white
5.19
#9A48BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#9A48BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A48BE
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A48BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A48BE | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C68C2
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#975E7C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9a48be; /* rgb */ color: rgb(154, 72, 190); /* oklch */ color: oklch(55.7% 0.187 314.1);
Tailwind
colors: {
custom: {
50: '#bb80d2',
500: '#9a48be',
950: '#000000',
},
}SCSS
$custom: #9a48be; $custom-light: #bb80d2; $custom-dark: #000000;
JSON
{
"hex": "#9a48be",
"rgb": {
"r": 154,
"g": 72,
"b": 190
},
"hsl": {
"h": 281.695,
"s": 47.581,
"l": 51.373
},
"oklch": {
"l": 0.55681,
"c": 0.18695,
"h": 314.1
},
"luminance": 0.15222
}Semantic roles & 50–950 ramp
primary
#9A48BE
secondary
#A7CB97
accent
#D7517A
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83