#9A48C8#9A48C8
#9A48C8 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.197 H 311.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9A48C8 |
|---|---|
| RGB | rgb(154, 72, 200) |
| HSL | hsl(278, 54%, 53%) |
| HSV | hsv(278, 64%, 78%) |
| CMYK | cmyk(23%, 64%, 0%, 21.6%) |
| CIE-LAB | lab(46.55, 55.26, -52.67) |
| CIE-LCH | lch(46.55, 76.34, 316.37°) |
| OKLab | oklab(56.32% 0.1297 -0.1485) |
| OKLCH | oklch(56.32% 0.197 311.1) |
| XYZ | xyz(26.0672, 15.6755, 56.2849) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.00
Purply
#983FB2
ΔE00 4.18
Lightish Purple
#A552E6
ΔE00 5.67
Amethyst
#9B5FC0
ΔE00 5.91
Deep Lavender
#8D5EB7
ΔE00 6.22
Vibrant Purple
#AD03DE
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A48C8 #76C848
analogous
#5A48C8 #9A48C8 #C848B6
triadic
#9A48C8 #C89A48 #48C89A
tetradic
#9A48C8 #C85A48 #76C848 #48B6C8
square
#9A48C8 #C85A48 #76C848 #48B6C8
split-complementary
#9A48C8 #B6C848 #48C85A
monochromatic
#562373 #7931A2 #9A48C8 #B477D6 #CEA6E4
Accessibility & contrast
On white
5.08
#9A48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9A48C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A48C8
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A48C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A48C8 | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#3A70C5
Tritanopia (blue-blind)
#946182
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9a48c8; /* rgb */ color: rgb(154, 72, 200); /* oklch */ color: oklch(56.3% 0.197 311.1);
Tailwind
colors: {
custom: {
50: '#bb80d9',
500: '#9a48c8',
950: '#000000',
},
}SCSS
$custom: #9a48c8; $custom-light: #bb80d9; $custom-dark: #000000;
JSON
{
"hex": "#9a48c8",
"rgb": {
"r": 154,
"g": 72,
"b": 200
},
"hsl": {
"h": 278.438,
"s": 53.782,
"l": 53.333
},
"oklch": {
"l": 0.56315,
"c": 0.19717,
"h": 311.1
},
"luminance": 0.15675
}Semantic roles & 50–950 ramp
primary
#9A48C8
secondary
#AED19A
accent
#DD4B7F
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83