#9C3DCC#9C3DCC
#9C3DCC is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.216 H 311.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9C3DCC |
|---|---|
| RGB | rgb(156, 61, 204) |
| HSL | hsl(280, 58%, 52%) |
| HSV | hsv(280, 70%, 80%) |
| CMYK | cmyk(23.5%, 70.1%, 0%, 20%) |
| CIE-LAB | lab(45.31, 61.45, -56.96) |
| CIE-LCH | lch(45.31, 83.78, 317.17°) |
| OKLab | oklab(55.57% 0.144 -0.1609) |
| OKLCH | oklch(55.57% 0.216 311.8) |
| XYZ | xyz(26.2761, 14.7657, 58.5809) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.07
Purply
#983FB2
ΔE00 4.12
Vibrant Purple
#AD03DE
ΔE00 4.60
Blueviolet
#8A2BE2
ΔE00 5.67
Barney
#AC1DB8
ΔE00 5.70
Violet (survey)
#9A0EEA
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C3DCC #6DCC3D
analogous
#553DCC #9C3DCC #CC3DB5
triadic
#9C3DCC #CC9C3D #3DCC9C
tetradic
#9C3DCC #CC553D #6DCC3D #3DB5CC
square
#9C3DCC #CC553D #6DCC3D #3DB5CC
split-complementary
#9C3DCC #B5CC3D #3DCC55
monochromatic
#551E71 #792AA1 #9C3DCC #B56DD9 #CD9EE5
Accessibility & contrast
On white
5.31
#9C3DCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#9C3DCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C3DCC
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C3DCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C3DCC | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#965C80
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9c3dcc; /* rgb */ color: rgb(156, 61, 204); /* oklch */ color: oklch(55.6% 0.216 311.8);
Tailwind
colors: {
custom: {
50: '#be7adc',
500: '#9c3dcc',
950: '#000000',
},
}SCSS
$custom: #9c3dcc; $custom-light: #be7adc; $custom-dark: #000000;
JSON
{
"hex": "#9c3dcc",
"rgb": {
"r": 156,
"g": 61,
"b": 204
},
"hsl": {
"h": 279.86,
"s": 58.367,
"l": 51.961
},
"oklch": {
"l": 0.55568,
"c": 0.21594,
"h": 311.8
},
"luminance": 0.14765
}Semantic roles & 50–950 ramp
primary
#9C3DCC
secondary
#A8D293
accent
#E2467A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83