#9C3BD5#9C3BD5
#9C3BD5 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.0% C 0.227 H 309.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9C3BD5 |
|---|---|
| RGB | rgb(156, 59, 213) |
| HSL | hsl(278, 65%, 53%) |
| HSV | hsv(278, 72%, 84%) |
| CMYK | cmyk(26.8%, 72.3%, 0%, 16.5%) |
| CIE-LAB | lab(45.63, 64.16, -61.61) |
| CIE-LCH | lch(45.63, 88.95, 316.16°) |
| OKLab | oklab(55.99% 0.1448 -0.1746) |
| OKLCH | oklch(55.99% 0.227 309.7) |
| XYZ | xyz(27.2821, 15.0005, 64.3961) |
| Luminance | 0.1500 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.27
Vibrant Purple
#AD03DE
ΔE00 4.15
Blueviolet
#8A2BE2
ΔE00 4.82
Violet (survey)
#9A0EEA
ΔE00 4.86
Purply
#983FB2
ΔE00 5.43
Electric Purple
#AA23FF
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C3BD5 #74D53B
analogous
#4F3BD5 #9C3BD5 #D53BC1
triadic
#9C3BD5 #D59C3B #3BD59C
tetradic
#9C3BD5 #D54F3B #74D53B #3BC1D5
square
#9C3BD5 #D54F3B #74D53B #3BC1D5
split-complementary
#9C3BD5 #C1D53B #3BD54F
monochromatic
#571A7B #7B25AE #9C3BD5 #B56DE0 #CFA0EB
Accessibility & contrast
On white
5.25
#9C3BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#9C3BD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C3BD5
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C3BD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C3BD5 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#166DD2
Tritanopia (blue-blind)
#945E85
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9c3bd5; /* rgb */ color: rgb(156, 59, 213); /* oklch */ color: oklch(56.0% 0.227 309.7);
Tailwind
colors: {
custom: {
50: '#be7ae3',
500: '#9c3bd5',
950: '#000000',
},
}SCSS
$custom: #9c3bd5; $custom-light: #be7ae3; $custom-dark: #000000;
JSON
{
"hex": "#9c3bd5",
"rgb": {
"r": 156,
"g": 59,
"b": 213
},
"hsl": {
"h": 277.792,
"s": 64.706,
"l": 53.333
},
"oklch": {
"l": 0.55992,
"c": 0.22679,
"h": 309.7
},
"luminance": 0.15
}Semantic roles & 50–950 ramp
primary
#9C3BD5
secondary
#ADD795
accent
#E8407E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84