#9C48CF#9C48CF
#9C48CF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.205 H 310.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9C48CF |
|---|---|
| RGB | rgb(156, 72, 207) |
| HSL | hsl(277, 58%, 55%) |
| HSV | hsv(277, 65%, 81%) |
| CMYK | cmyk(24.6%, 65.2%, 0%, 18.8%) |
| CIE-LAB | lab(47.25, 57.23, -55.57) |
| CIE-LCH | lch(47.25, 79.77, 315.85°) |
| OKLab | oklab(57.02% 0.1319 -0.1569) |
| OKLCH | oklch(57.02% 0.205 310.1) |
| XYZ | xyz(27.2880, 16.2082, 60.7104) |
| Luminance | 0.1621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.21
Lightish Purple
#A552E6
ΔE00 4.69
Purply
#983FB2
ΔE00 5.19
Amethyst
#9B5FC0
ΔE00 6.05
Purpley
#8756E4
ΔE00 6.15
Vibrant Purple
#AD03DE
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C48CF #7BCF48
analogous
#5848CF #9C48CF #CF48BF
triadic
#9C48CF #CF9C48 #48CF9C
tetradic
#9C48CF #CF5848 #7BCF48 #48BFCF
square
#9C48CF #CF5848 #7BCF48 #48BFCF
split-complementary
#9C48CF #BFCF48 #48CF58
monochromatic
#59217C #7C2DAD #9C48CF #B678DC #D0A9E8
Accessibility & contrast
On white
4.95
#9C48CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#9C48CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C48CF
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C48CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C48CF | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#956485
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9c48cf; /* rgb */ color: rgb(156, 72, 207); /* oklch */ color: oklch(57.0% 0.205 310.1);
Tailwind
colors: {
custom: {
50: '#bd80de',
500: '#9c48cf',
950: '#000000',
},
}SCSS
$custom: #9c48cf; $custom-light: #bd80de; $custom-dark: #000000;
JSON
{
"hex": "#9c48cf",
"rgb": {
"r": 156,
"g": 72,
"b": 207
},
"hsl": {
"h": 277.333,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.57016,
"c": 0.20498,
"h": 310.1
},
"luminance": 0.16208
}Semantic roles & 50–950 ramp
primary
#9C48CF
secondary
#B2D69D
accent
#E24681
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83