#9C3FD9#9C3FD9
#9C3FD9 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.7% C 0.226 H 308.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9C3FD9 |
|---|---|
| RGB | rgb(156, 63, 217) |
| HSL | hsl(276, 67%, 55%) |
| HSV | hsv(276, 71%, 85%) |
| CMYK | cmyk(28.1%, 71%, 0%, 14.9%) |
| CIE-LAB | lab(46.49, 63.38, -62.52) |
| CIE-LCH | lch(46.49, 89.03, 315.39°) |
| OKLab | oklab(56.69% 0.1403 -0.1773) |
| OKLCH | oklch(56.69% 0.226 308.4) |
| XYZ | xyz(28.0096, 15.6331, 67.1741) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.25
Vibrant Purple
#AD03DE
ΔE00 4.76
Electric Purple
#AA23FF
ΔE00 5.02
Blueviolet
#8A2BE2
ΔE00 5.15
Lightish Purple
#A552E6
ΔE00 5.17
Bright Violet
#AD0AFD
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C3FD9 #7CD93F
analogous
#4F3FD9 #9C3FD9 #D93FC9
triadic
#9C3FD9 #D99C3F #3FD99C
tetradic
#9C3FD9 #D94F3F #7CD93F #3FC9D9
square
#9C3FD9 #D94F3F #7CD93F #3FC9D9
split-complementary
#9C3FD9 #C9D93F #3FD94F
monochromatic
#5A1A84 #7D24B7 #9C3FD9 #B672E3 #D1A5ED
Accessibility & contrast
On white
5.09
#9C3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#9C3FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C3FD9
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C3FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C3FD9 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#136FD6
Tritanopia (blue-blind)
#926288
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9c3fd9; /* rgb */ color: rgb(156, 63, 217); /* oklch */ color: oklch(56.7% 0.226 308.4);
Tailwind
colors: {
custom: {
50: '#be7ce6',
500: '#9c3fd9',
950: '#000000',
},
}SCSS
$custom: #9c3fd9; $custom-light: #be7ce6; $custom-dark: #000000;
JSON
{
"hex": "#9c3fd9",
"rgb": {
"r": 156,
"g": 63,
"b": 217
},
"hsl": {
"h": 276.234,
"s": 66.957,
"l": 54.902
},
"oklch": {
"l": 0.56686,
"c": 0.22608,
"h": 308.4
},
"luminance": 0.15633
}Semantic roles & 50–950 ramp
primary
#9C3FD9
secondary
#B3DA9A
accent
#EA3E82
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84