#9C48E2#9C48E2
#9C48E2 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.224 H 305.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9C48E2 |
|---|---|
| RGB | rgb(156, 72, 226) |
| HSL | hsl(273, 73%, 58%) |
| HSV | hsv(273, 68%, 89%) |
| CMYK | cmyk(31%, 68.1%, 0%, 11.4%) |
| CIE-LAB | lab(48.50, 61.46, -64.38) |
| CIE-LCH | lch(48.50, 89.01, 313.67°) |
| OKLab | oklab(58.32% 0.13 -0.1828) |
| OKLCH | oklch(58.32% 0.224 305.4) |
| XYZ | xyz(29.7521, 17.1938, 73.6881) |
| Luminance | 0.1719 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.13
Purpley
#8756E4
ΔE00 4.49
Electric Purple
#AA23FF
ΔE00 4.83
Lighter Purple
#A55AF4
ΔE00 5.51
Darkorchid
#9932CC
ΔE00 5.58
Bright Violet
#AD0AFD
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C48E2 #8EE248
analogous
#4F48E2 #9C48E2 #E248DB
triadic
#9C48E2 #E29C48 #48E29C
tetradic
#9C48E2 #E24F48 #8EE248 #48DBE2
square
#9C48E2 #E24F48 #8EE248 #48DBE2
split-complementary
#9C48E2 #DBE248 #48E24F
monochromatic
#5E1898 #7E20CC #9C48E2 #B97DEA #D5B2F3
Accessibility & contrast
On white
4.73
#9C48E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#9C48E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C48E2
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C48E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C48E2 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#0E73DF
Tritanopia (blue-blind)
#8F6B90
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9c48e2; /* rgb */ color: rgb(156, 72, 226); /* oklch */ color: oklch(58.3% 0.224 305.4);
Tailwind
colors: {
custom: {
50: '#be81ec',
500: '#9c48e2',
950: '#000000',
},
}SCSS
$custom: #9c48e2; $custom-light: #be81ec; $custom-dark: #000000;
JSON
{
"hex": "#9c48e2",
"rgb": {
"r": 156,
"g": 72,
"b": 226
},
"hsl": {
"h": 272.727,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.58317,
"c": 0.22433,
"h": 305.4
},
"luminance": 0.17194
}Semantic roles & 50–950 ramp
primary
#9C48E2
secondary
#C0E1A4
accent
#EF388C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84