#9B48CA#9B48CA
#9B48CA is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.6% C 0.200 H 311.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9B48CA |
|---|---|
| RGB | rgb(155, 72, 202) |
| HSL | hsl(278, 55%, 54%) |
| HSV | hsv(278, 64%, 79%) |
| CMYK | cmyk(23.3%, 64.4%, 0%, 20.8%) |
| CIE-LAB | lab(46.80, 55.92, -53.41) |
| CIE-LCH | lch(46.80, 77.33, 316.32°) |
| OKLab | oklab(56.57% 0.1309 -0.1506) |
| OKLCH | oklch(56.57% 0.2 311) |
| XYZ | xyz(26.4936, 15.8682, 57.5329) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.06
Purply
#983FB2
ΔE00 4.47
Lightish Purple
#A552E6
ΔE00 5.36
Amethyst
#9B5FC0
ΔE00 5.90
Deep Lavender
#8D5EB7
ΔE00 6.33
Vibrant Purple
#AD03DE
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B48CA #77CA48
analogous
#5A48CA #9B48CA #CA48B8
triadic
#9B48CA #CA9B48 #48CA9B
tetradic
#9B48CA #CA5A48 #77CA48 #48B8CA
square
#9B48CA #CA5A48 #77CA48 #48B8CA
split-complementary
#9B48CA #B8CA48 #48CA5A
monochromatic
#572276 #7B30A5 #9B48CA #B577D8 #CFA7E5
Accessibility & contrast
On white
5.03
#9B48CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#9B48CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B48CA
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B48CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B48CA | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3970C7
Tritanopia (blue-blind)
#956283
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9b48ca; /* rgb */ color: rgb(155, 72, 202); /* oklch */ color: oklch(56.6% 0.200 311.0);
Tailwind
colors: {
custom: {
50: '#bc80db',
500: '#9b48ca',
950: '#000000',
},
}SCSS
$custom: #9b48ca; $custom-light: #bc80db; $custom-dark: #000000;
JSON
{
"hex": "#9b48ca",
"rgb": {
"r": 155,
"g": 72,
"b": 202
},
"hsl": {
"h": 278.308,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.56567,
"c": 0.19954,
"h": 311
},
"luminance": 0.15868
}Semantic roles & 50–950 ramp
primary
#9B48CA
secondary
#AFD39B
accent
#DE497F
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83