#9A48BF#9A48BF
#9A48BF is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.7% C 0.188 H 313.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9A48BF |
|---|---|
| RGB | rgb(154, 72, 191) |
| HSL | hsl(281, 48%, 52%) |
| HSV | hsv(281, 62%, 75%) |
| CMYK | cmyk(19.4%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(46.00, 53.32, -48.34) |
| CIE-LCH | lch(46.00, 71.97, 317.81°) |
| OKLab | oklab(55.74% 0.13 -0.1358) |
| OKLCH | oklch(55.74% 0.188 313.8) |
| XYZ | xyz(25.0462, 15.2671, 50.9076) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.95
Darkorchid
#9932CC
ΔE00 4.40
Medium Purple
#9E43A2
ΔE00 5.71
Amethyst
#9B5FC0
ΔE00 5.80
Deep Lavender
#8D5EB7
ΔE00 5.94
Barney
#AC1DB8
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A48BF #6DBF48
analogous
#5F48BF #9A48BF #BF48A8
triadic
#9A48BF #BF9A48 #48BF9A
tetradic
#9A48BF #BF5F48 #6DBF48 #48A8BF
square
#9A48BF #BF5F48 #6DBF48 #48A8BF
split-complementary
#9A48BF #A8BF48 #48BF5F
monochromatic
#532468 #773496 #9A48BF #B375CF #CCA3DF
Accessibility & contrast
On white
5.18
#9A48BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#9A48BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A48BF
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A48BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A48BF | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B68C3
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#975E7D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9a48bf; /* rgb */ color: rgb(154, 72, 191); /* oklch */ color: oklch(55.7% 0.188 313.8);
Tailwind
colors: {
custom: {
50: '#bb80d3',
500: '#9a48bf',
950: '#000000',
},
}SCSS
$custom: #9a48bf; $custom-light: #bb80d3; $custom-dark: #000000;
JSON
{
"hex": "#9a48bf",
"rgb": {
"r": 154,
"g": 72,
"b": 191
},
"hsl": {
"h": 281.345,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.55743,
"c": 0.18796,
"h": 313.8
},
"luminance": 0.15266
}Semantic roles & 50–950 ramp
primary
#9A48BF
secondary
#A8CC97
accent
#D8507A
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83