#9C4CBE#9C4CBE
#9C4CBE is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.4% C 0.182 H 314.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9C4CBE |
|---|---|
| RGB | rgb(156, 76, 190) |
| HSL | hsl(282, 47%, 52%) |
| HSV | hsv(282, 60%, 75%) |
| CMYK | cmyk(17.9%, 60%, 0%, 25.5%) |
| CIE-LAB | lab(46.92, 51.66, -46.27) |
| CIE-LCH | lch(46.92, 69.35, 318.15°) |
| OKLab | oklab(56.45% 0.1276 -0.1297) |
| OKLCH | oklch(56.45% 0.182 314.5) |
| XYZ | xyz(25.5875, 15.9553, 50.4370) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.60
Amethyst
#9B5FC0
ΔE00 4.81
Deep Lavender
#8D5EB7
ΔE00 5.28
Darkorchid
#9932CC
ΔE00 5.45
Medium Purple
#9E43A2
ΔE00 5.60
Ugly Purple
#A442A0
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C4CBE #6EBE4C
analogous
#634CBE #9C4CBE #BE4CA7
triadic
#9C4CBE #BE9C4C #4CBE9C
tetradic
#9C4CBE #BE634C #6EBE4C #4CA7BE
square
#9C4CBE #BE634C #6EBE4C #4CA7BE
split-complementary
#9C4CBE #A7BE4C #4CBE63
monochromatic
#552669 #7A3796 #9C4CBE #B579CE #CEA6DF
Accessibility & contrast
On white
5.01
#9C4CBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#9C4CBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C4CBE
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C4CBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C4CBE | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#4971BB
Tritanopia (blue-blind)
#99607E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9c4cbe; /* rgb */ color: rgb(156, 76, 190); /* oklch */ color: oklch(56.4% 0.182 314.5);
Tailwind
colors: {
custom: {
50: '#bc82d2',
500: '#9c4cbe',
950: '#000000',
},
}SCSS
$custom: #9c4cbe; $custom-light: #bc82d2; $custom-dark: #000000;
JSON
{
"hex": "#9c4cbe",
"rgb": {
"r": 156,
"g": 76,
"b": 190
},
"hsl": {
"h": 282.105,
"s": 46.721,
"l": 52.157
},
"oklch": {
"l": 0.56447,
"c": 0.1819,
"h": 314.5
},
"luminance": 0.15955
}Semantic roles & 50–950 ramp
primary
#9C4CBE
secondary
#A9CC9A
accent
#D65179
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82