#9C48BF#9C48BF
#9C48BF is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.0% C 0.189 H 314.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9C48BF |
|---|---|
| RGB | rgb(156, 72, 191) |
| HSL | hsl(282, 48%, 52%) |
| HSV | hsv(282, 62%, 75%) |
| CMYK | cmyk(18.3%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(46.26, 53.80, -47.89) |
| CIE-LCH | lch(46.26, 72.03, 318.33°) |
| OKLab | oklab(55.99% 0.1325 -0.1344) |
| OKLCH | oklch(55.99% 0.189 314.6) |
| XYZ | xyz(25.4301, 15.4650, 50.9256) |
| Luminance | 0.1546 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.01
Darkorchid
#9932CC
ΔE00 4.59
Medium Purple
#9E43A2
ΔE00 5.56
Amethyst
#9B5FC0
ΔE00 5.68
Deep Lavender
#8D5EB7
ΔE00 6.01
Barney
#AC1DB8
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C48BF #6BBF48
analogous
#6148BF #9C48BF #BF48A7
triadic
#9C48BF #BF9C48 #48BF9C
tetradic
#9C48BF #BF6148 #6BBF48 #48A7BF
square
#9C48BF #BF6148 #6BBF48 #48A7BF
split-complementary
#9C48BF #A7BF48 #48BF61
monochromatic
#542468 #793496 #9C48BF #B575CF #CDA3DF
Accessibility & contrast
On white
5.13
#9C48BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#9C48BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C48BF
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C48BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C48BF | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#995E7D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9c48bf; /* rgb */ color: rgb(156, 72, 191); /* oklch */ color: oklch(56.0% 0.189 314.6);
Tailwind
colors: {
custom: {
50: '#bc80d3',
500: '#9c48bf',
950: '#000000',
},
}SCSS
$custom: #9c48bf; $custom-light: #bc80d3; $custom-dark: #000000;
JSON
{
"hex": "#9c48bf",
"rgb": {
"r": 156,
"g": 72,
"b": 191
},
"hsl": {
"h": 282.353,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.55993,
"c": 0.18875,
"h": 314.6
},
"luminance": 0.15464
}Semantic roles & 50–950 ramp
primary
#9C48BF
secondary
#A7CC97
accent
#D85078
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83