#943AC5#943AC5
#943AC5 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.210 H 310.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #943AC5 |
|---|---|
| RGB | rgb(148, 58, 197) |
| HSL | hsl(279, 55%, 50%) |
| HSV | hsv(279, 71%, 77%) |
| CMYK | cmyk(24.9%, 70.6%, 0%, 22.7%) |
| CIE-LAB | lab(43.29, 59.59, -56.22) |
| CIE-LCH | lch(43.29, 81.92, 316.67°) |
| OKLab | oklab(53.75% 0.1376 -0.159) |
| OKLCH | oklch(53.75% 0.21 310.9) |
| XYZ | xyz(23.8019, 13.3538, 54.1362) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.43
Purply
#983FB2
ΔE00 3.62
Blueviolet
#8A2BE2
ΔE00 5.06
Vibrant Purple
#AD03DE
ΔE00 5.16
Darkviolet
#9400D3
ΔE00 5.38
Barney
#AC1DB8
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#943AC5 #6BC53A
analogous
#4F3AC5 #943AC5 #C53AB0
triadic
#943AC5 #C5943A #3AC594
tetradic
#943AC5 #C54F3A #6BC53A #3AB0C5
square
#943AC5 #C54F3A #6BC53A #3AB0C5
split-complementary
#943AC5 #B0C53A #3AC54F
monochromatic
#4D1E66 #702C96 #943AC5 #AE69D3 #C799E1
Accessibility & contrast
On white
5.72
#943AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#943AC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #943AC5
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##943AC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##943AC5 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#2468C2
Tritanopia (blue-blind)
#8E587C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #943ac5; /* rgb */ color: rgb(148, 58, 197); /* oklch */ color: oklch(53.7% 0.210 310.9);
Tailwind
colors: {
custom: {
50: '#b878d7',
500: '#943ac5',
950: '#000000',
},
}SCSS
$custom: #943ac5; $custom-light: #b878d7; $custom-dark: #000000;
JSON
{
"hex": "#943ac5",
"rgb": {
"r": 148,
"g": 58,
"b": 197
},
"hsl": {
"h": 278.849,
"s": 54.51,
"l": 50
},
"oklch": {
"l": 0.53749,
"c": 0.21028,
"h": 310.9
},
"luminance": 0.13353
}Semantic roles & 50–950 ramp
primary
#943AC5
secondary
#A4CD8E
accent
#DE4A7E
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83