#943BB7#943BB7
#943BB7 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.196 H 314.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #943BB7 |
|---|---|
| RGB | rgb(148, 59, 183) |
| HSL | hsl(283, 51%, 47%) |
| HSV | hsv(283, 68%, 72%) |
| CMYK | cmyk(19.1%, 67.8%, 0%, 28.2%) |
| CIE-LAB | lab(42.53, 56.22, -49.26) |
| CIE-LCH | lch(42.53, 74.75, 318.77°) |
| OKLab | oklab(52.91% 0.1379 -0.1386) |
| OKLCH | oklch(52.91% 0.196 314.9) |
| XYZ | xyz(22.3226, 12.8435, 46.0937) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.69
Darkorchid
#9932CC
ΔE00 3.27
Barney
#AC1DB8
ΔE00 4.71
Medium Purple
#9E43A2
ΔE00 5.52
Vibrant Purple
#AD03DE
ΔE00 6.47
Darkviolet
#9400D3
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#943BB7 #5EB73B
analogous
#563BB7 #943BB7 #B73B9C
triadic
#943BB7 #B7943B #3BB794
tetradic
#943BB7 #B7563B #5EB73B #3B9CB7
square
#943BB7 #B7563B #5EB73B #3B9CB7
split-complementary
#943BB7 #9CB73B #3BB756
monochromatic
#491D5A #6F2C89 #943BB7 #AF63CD #C691DC
Accessibility & contrast
On white
5.88
#943BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#943BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #943BB7
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##943BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##943BB7 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#3767B4
Tritanopia (blue-blind)
#915374
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #943bb7; /* rgb */ color: rgb(148, 59, 183); /* oklch */ color: oklch(52.9% 0.196 314.9);
Tailwind
colors: {
custom: {
50: '#b778cd',
500: '#943bb7',
950: '#000000',
},
}SCSS
$custom: #943bb7; $custom-light: #b778cd; $custom-dark: #000000;
JSON
{
"hex": "#943bb7",
"rgb": {
"r": 148,
"g": 59,
"b": 183
},
"hsl": {
"h": 283.065,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.5291,
"c": 0.19551,
"h": 314.9
},
"luminance": 0.12843
}Semantic roles & 50–950 ramp
primary
#943BB7
secondary
#99C687
accent
#DB4D75
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120913
muted
#817B82