#9C48E1#9C48E1
#9C48E1 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.223 H 305.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9C48E1 |
|---|---|
| RGB | rgb(156, 72, 225) |
| HSL | hsl(273, 72%, 58%) |
| HSV | hsv(273, 68%, 88%) |
| CMYK | cmyk(30.7%, 68%, 0%, 11.8%) |
| CIE-LAB | lab(48.43, 61.23, -63.93) |
| CIE-LCH | lch(48.43, 88.52, 313.77°) |
| OKLab | oklab(58.25% 0.1302 -0.1814) |
| OKLCH | oklch(58.25% 0.223 305.7) |
| XYZ | xyz(29.6153, 17.1391, 72.9676) |
| Luminance | 0.1714 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.17
Purpley
#8756E4
ΔE00 4.55
Electric Purple
#AA23FF
ΔE00 4.90
Darkorchid
#9932CC
ΔE00 5.48
Lighter Purple
#A55AF4
ΔE00 5.59
Bright Violet
#AD0AFD
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C48E1 #8DE148
analogous
#4F48E1 #9C48E1 #E148DA
triadic
#9C48E1 #E19C48 #48E19C
tetradic
#9C48E1 #E14F48 #8DE148 #48DAE1
square
#9C48E1 #E14F48 #8DE148 #48DAE1
split-complementary
#9C48E1 #DAE148 #48E14F
monochromatic
#5D1996 #7E21CB #9C48E1 #B87DEA #D5B1F2
Accessibility & contrast
On white
4.74
#9C48E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#9C48E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C48E1
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C48E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C48E1 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#1273DE
Tritanopia (blue-blind)
#906A8F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9c48e1; /* rgb */ color: rgb(156, 72, 225); /* oklch */ color: oklch(58.2% 0.223 305.7);
Tailwind
colors: {
custom: {
50: '#be81eb',
500: '#9c48e1',
950: '#000000',
},
}SCSS
$custom: #9c48e1; $custom-light: #be81eb; $custom-dark: #000000;
JSON
{
"hex": "#9c48e1",
"rgb": {
"r": 156,
"g": 72,
"b": 225
},
"hsl": {
"h": 272.941,
"s": 71.831,
"l": 58.235
},
"oklch": {
"l": 0.58246,
"c": 0.22331,
"h": 305.7
},
"luminance": 0.17139
}Semantic roles & 50–950 ramp
primary
#9C48E1
secondary
#BFE1A4
accent
#EF398B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84