#9C3FD5#9C3FD5
#9C3FD5 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.4% C 0.222 H 309.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9C3FD5 |
|---|---|
| RGB | rgb(156, 63, 213) |
| HSL | hsl(277, 64%, 54%) |
| HSV | hsv(277, 70%, 84%) |
| CMYK | cmyk(26.8%, 70.4%, 0%, 16.5%) |
| CIE-LAB | lab(46.21, 62.52, -60.67) |
| CIE-LCH | lch(46.21, 87.12, 315.86°) |
| OKLab | oklab(56.4% 0.1409 -0.1718) |
| OKLCH | oklch(56.4% 0.222 309.3) |
| XYZ | xyz(27.4956, 15.4276, 64.4672) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.87
Vibrant Purple
#AD03DE
ΔE00 4.70
Blueviolet
#8A2BE2
ΔE00 5.30
Violet (survey)
#9A0EEA
ΔE00 5.44
Lightish Purple
#A552E6
ΔE00 5.48
Electric Purple
#AA23FF
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C3FD5 #78D53F
analogous
#513FD5 #9C3FD5 #D53FC3
triadic
#9C3FD5 #D59C3F #3FD59C
tetradic
#9C3FD5 #D5513F #78D53F #3FC3D5
square
#9C3FD5 #D5513F #78D53F #3FC3D5
split-complementary
#9C3FD5 #C3D53F #3FD551
monochromatic
#591C7E #7C27B0 #9C3FD5 #B671E0 #D0A3EB
Accessibility & contrast
On white
5.14
#9C3FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#9C3FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C3FD5
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C3FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C3FD5 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#1E6FD2
Tritanopia (blue-blind)
#946186
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9c3fd5; /* rgb */ color: rgb(156, 63, 213); /* oklch */ color: oklch(56.4% 0.222 309.3);
Tailwind
colors: {
custom: {
50: '#be7ce3',
500: '#9c3fd5',
950: '#000000',
},
}SCSS
$custom: #9c3fd5; $custom-light: #be7ce3; $custom-dark: #000000;
JSON
{
"hex": "#9c3fd5",
"rgb": {
"r": 156,
"g": 63,
"b": 213
},
"hsl": {
"h": 277.2,
"s": 64.103,
"l": 54.118
},
"oklch": {
"l": 0.56403,
"c": 0.22221,
"h": 309.3
},
"luminance": 0.15427
}Semantic roles & 50–950 ramp
primary
#9C3FD5
secondary
#B0D898
accent
#E74180
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84