#9A3ACC#9A3ACC
#9A3ACC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.0% C 0.219 H 311.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3ACC |
|---|---|
| RGB | rgb(154, 58, 204) |
| HSL | hsl(279, 59%, 51%) |
| HSV | hsv(279, 72%, 80%) |
| CMYK | cmyk(24.5%, 71.6%, 0%, 20%) |
| CIE-LAB | lab(44.60, 62.27, -58.12) |
| CIE-LCH | lch(44.60, 85.18, 316.98°) |
| OKLab | oklab(55% 0.1445 -0.1644) |
| OKLCH | oklch(55% 0.219 311.3) |
| XYZ | xyz(25.7365, 14.2564, 58.5110) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.35
Purply
#983FB2
ΔE00 4.19
Vibrant Purple
#AD03DE
ΔE00 4.34
Blueviolet
#8A2BE2
ΔE00 5.08
Violet (survey)
#9A0EEA
ΔE00 5.25
Barney
#AC1DB8
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3ACC #6CCC3A
analogous
#513ACC #9A3ACC #CC3AB5
triadic
#9A3ACC #CC9A3A #3ACC9A
tetradic
#9A3ACC #CC513A #6CCC3A #3AB5CC
square
#9A3ACC #CC513A #6CCC3A #3AB5CC
split-complementary
#9A3ACC #B5CC3A #3ACC51
monochromatic
#531D6F #7729A0 #9A3ACC #B36BD9 #CC9BE5
Accessibility & contrast
On white
5.45
#9A3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#9A3ACC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A3ACC
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3ACC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3ACC | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#246BC9
Tritanopia (blue-blind)
#945A80
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9a3acc; /* rgb */ color: rgb(154, 58, 204); /* oklch */ color: oklch(55.0% 0.219 311.3);
Tailwind
colors: {
custom: {
50: '#bc79dc',
500: '#9a3acc',
950: '#000000',
},
}SCSS
$custom: #9a3acc; $custom-light: #bc79dc; $custom-dark: #000000;
JSON
{
"hex": "#9a3acc",
"rgb": {
"r": 154,
"g": 58,
"b": 204
},
"hsl": {
"h": 279.452,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.55003,
"c": 0.21884,
"h": 311.3
},
"luminance": 0.14256
}Semantic roles & 50–950 ramp
primary
#9A3ACC
secondary
#A7D191
accent
#E2467B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83