#9A48CF#9A48CF
#9A48CF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.204 H 309.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9A48CF |
|---|---|
| RGB | rgb(154, 72, 207) |
| HSL | hsl(276, 58%, 55%) |
| HSV | hsv(276, 65%, 81%) |
| CMYK | cmyk(25.6%, 65.2%, 0%, 18.8%) |
| CIE-LAB | lab(46.99, 56.79, -56.00) |
| CIE-LCH | lch(46.99, 79.76, 315.41°) |
| OKLab | oklab(56.78% 0.1293 -0.1582) |
| OKLCH | oklch(56.78% 0.204 309.3) |
| XYZ | xyz(26.9040, 16.0102, 60.6924) |
| Luminance | 0.1601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.07
Lightish Purple
#A552E6
ΔE00 4.85
Purply
#983FB2
ΔE00 5.20
Purpley
#8756E4
ΔE00 5.94
Amethyst
#9B5FC0
ΔE00 6.20
Vibrant Purple
#AD03DE
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A48CF #7DCF48
analogous
#5648CF #9A48CF #CF48C1
triadic
#9A48CF #CF9A48 #48CF9A
tetradic
#9A48CF #CF5648 #7DCF48 #48C1CF
square
#9A48CF #CF5648 #7DCF48 #48C1CF
split-complementary
#9A48CF #C1CF48 #48CF56
monochromatic
#58217C #7B2DAD #9A48CF #B578DC #D0A9E8
Accessibility & contrast
On white
5.00
#9A48CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#9A48CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A48CF
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A48CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A48CF | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3271CC
Tritanopia (blue-blind)
#926485
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9a48cf; /* rgb */ color: rgb(154, 72, 207); /* oklch */ color: oklch(56.8% 0.204 309.3);
Tailwind
colors: {
custom: {
50: '#bc80de',
500: '#9a48cf',
950: '#000000',
},
}SCSS
$custom: #9a48cf; $custom-light: #bc80de; $custom-dark: #000000;
JSON
{
"hex": "#9a48cf",
"rgb": {
"r": 154,
"g": 72,
"b": 207
},
"hsl": {
"h": 276.444,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.56775,
"c": 0.20435,
"h": 309.3
},
"luminance": 0.1601
}Semantic roles & 50–950 ramp
primary
#9A48CF
secondary
#B3D69D
accent
#E24683
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83