#943CB0#943CB0
#943CB0 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.6% C 0.187 H 317.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #943CB0 |
|---|---|
| RGB | rgb(148, 60, 176) |
| HSL | hsl(286, 49%, 46%) |
| HSV | hsv(286, 66%, 69%) |
| CMYK | cmyk(15.9%, 65.9%, 0%, 31%) |
| CIE-LAB | lab(42.25, 54.34, -45.58) |
| CIE-LCH | lch(42.25, 70.93, 320.01°) |
| OKLab | oklab(52.57% 0.1371 -0.1278) |
| OKLCH | oklch(52.57% 0.187 317) |
| XYZ | xyz(21.6639, 12.6631, 42.3689) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.12
Darkorchid
#9932CC
ΔE00 4.43
Medium Purple
#9E43A2
ΔE00 4.49
Barney
#AC1DB8
ΔE00 4.65
Ugly Purple
#A442A0
ΔE00 5.76
Warm Purple
#952E8F
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#943CB0 #58B03C
analogous
#5A3CB0 #943CB0 #B03C92
triadic
#943CB0 #B0943C #3CB094
tetradic
#943CB0 #B05A3C #58B03C #3C92B0
square
#943CB0 #B05A3C #58B03C #3C92B0
split-complementary
#943CB0 #92B03C #3CB05A
monochromatic
#471D55 #6E2C82 #943CB0 #B060C9 #C68ED8
Accessibility & contrast
On white
5.94
#943CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#943CB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #943CB0
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##943CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##943CB0 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C5EB3
Deuteranopia (green-blind)
#3E66AD
Tritanopia (blue-blind)
#935171
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #943cb0; /* rgb */ color: rgb(148, 60, 176); /* oklch */ color: oklch(52.6% 0.187 317.0);
Tailwind
colors: {
custom: {
50: '#b778c8',
500: '#943cb0',
950: '#000000',
},
}SCSS
$custom: #943cb0; $custom-light: #b778c8; $custom-dark: #000000;
JSON
{
"hex": "#943cb0",
"rgb": {
"r": 148,
"g": 60,
"b": 176
},
"hsl": {
"h": 285.517,
"s": 49.153,
"l": 46.275
},
"oklch": {
"l": 0.52573,
"c": 0.18743,
"h": 317
},
"luminance": 0.12662
}Semantic roles & 50–950 ramp
primary
#943CB0
secondary
#94C385
accent
#D94F70
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120913
muted
#817B82