#9B48CF#9B48CF
#9B48CF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.205 H 309.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9B48CF |
|---|---|
| RGB | rgb(155, 72, 207) |
| HSL | hsl(277, 58%, 55%) |
| HSV | hsv(277, 65%, 81%) |
| CMYK | cmyk(25.1%, 65.2%, 0%, 18.8%) |
| CIE-LAB | lab(47.12, 57.01, -55.78) |
| CIE-LCH | lch(47.12, 79.76, 315.63°) |
| OKLab | oklab(56.9% 0.1306 -0.1576) |
| OKLCH | oklch(56.9% 0.205 309.7) |
| XYZ | xyz(27.0952, 16.1088, 60.7013) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.14
Lightish Purple
#A552E6
ΔE00 4.77
Purply
#983FB2
ΔE00 5.20
Purpley
#8756E4
ΔE00 6.04
Amethyst
#9B5FC0
ΔE00 6.12
Vibrant Purple
#AD03DE
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B48CF #7CCF48
analogous
#5848CF #9B48CF #CF48C0
triadic
#9B48CF #CF9B48 #48CF9B
tetradic
#9B48CF #CF5848 #7CCF48 #48C0CF
square
#9B48CF #CF5848 #7CCF48 #48C0CF
split-complementary
#9B48CF #C0CF48 #48CF58
monochromatic
#59217C #7C2DAD #9B48CF #B578DC #D0A9E8
Accessibility & contrast
On white
4.97
#9B48CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#9B48CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B48CF
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B48CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B48CF | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3471CC
Tritanopia (blue-blind)
#946485
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9b48cf; /* rgb */ color: rgb(155, 72, 207); /* oklch */ color: oklch(56.9% 0.205 309.7);
Tailwind
colors: {
custom: {
50: '#bc80de',
500: '#9b48cf',
950: '#000000',
},
}SCSS
$custom: #9b48cf; $custom-light: #bc80de; $custom-dark: #000000;
JSON
{
"hex": "#9b48cf",
"rgb": {
"r": 155,
"g": 72,
"b": 207
},
"hsl": {
"h": 276.889,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.56895,
"c": 0.20466,
"h": 309.7
},
"luminance": 0.16108
}Semantic roles & 50–950 ramp
primary
#9B48CF
secondary
#B3D69D
accent
#E24682
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83