#943ACC#943ACC
#943ACC is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.2% C 0.217 H 309.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #943ACC |
|---|---|
| RGB | rgb(148, 58, 204) |
| HSL | hsl(277, 59%, 51%) |
| HSV | hsv(277, 72%, 80%) |
| CMYK | cmyk(27.5%, 71.6%, 0%, 20%) |
| CIE-LAB | lab(43.77, 61.09, -59.49) |
| CIE-LCH | lch(43.77, 85.28, 315.76°) |
| OKLab | oklab(54.25% 0.1367 -0.1686) |
| OKLCH | oklch(54.25% 0.217 309) |
| XYZ | xyz(24.6227, 13.6821, 58.4588) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.30
Blueviolet
#8A2BE2
ΔE00 4.25
Purply
#983FB2
ΔE00 4.60
Vibrant Purple
#AD03DE
ΔE00 4.81
Violet (survey)
#9A0EEA
ΔE00 4.92
Darkviolet
#9400D3
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#943ACC #72CC3A
analogous
#4B3ACC #943ACC #CC3ABB
triadic
#943ACC #CC943A #3ACC94
tetradic
#943ACC #CC4B3A #72CC3A #3ABBCC
square
#943ACC #CC4B3A #72CC3A #3ABBCC
split-complementary
#943ACC #BBCC3A #3ACC4B
monochromatic
#4F1D6F #7229A0 #943ACC #AE6BD9 #C99BE5
Accessibility & contrast
On white
5.62
#943ACC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#943ACC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #943ACC
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##943ACC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##943ACC | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#1569C9
Tritanopia (blue-blind)
#8C5B80
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #943acc; /* rgb */ color: rgb(148, 58, 204); /* oklch */ color: oklch(54.2% 0.217 309.0);
Tailwind
colors: {
custom: {
50: '#b878dc',
500: '#943acc',
950: '#000000',
},
}SCSS
$custom: #943acc; $custom-light: #b878dc; $custom-dark: #000000;
JSON
{
"hex": "#943acc",
"rgb": {
"r": 148,
"g": 58,
"b": 204
},
"hsl": {
"h": 276.986,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.54245,
"c": 0.21705,
"h": 309
},
"luminance": 0.13682
}Semantic roles & 50–950 ramp
primary
#943ACC
secondary
#A9D191
accent
#E24682
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83