#943CA2#943CA2
#943CA2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.7% C 0.174 H 321.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #943CA2 |
|---|---|
| RGB | rgb(148, 60, 162) |
| HSL | hsl(292, 46%, 44%) |
| HSV | hsv(292, 63%, 64%) |
| CMYK | cmyk(8.6%, 63%, 0%, 36.5%) |
| CIE-LAB | lab(41.43, 51.56, -38.56) |
| CIE-LCH | lch(41.43, 64.38, 323.21°) |
| OKLab | oklab(51.72% 0.1371 -0.1073) |
| OKLCH | oklch(51.72% 0.174 321.9) |
| XYZ | xyz(20.3495, 12.1373, 35.4463) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.85
Medium Purple
#9E43A2
ΔE00 2.97
Ugly Purple
#A442A0
ΔE00 4.21
Warm Purple
#952E8F
ΔE00 4.28
Barney
#AC1DB8
ΔE00 5.29
Barney Purple
#A00498
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#943CA2 #4AA23C
analogous
#613CA2 #943CA2 #A23C7D
triadic
#943CA2 #A2943C #3CA294
tetradic
#943CA2 #A2613C #4AA23C #3C7DA2
square
#943CA2 #A2613C #4AA23C #3C7DA2
split-complementary
#943CA2 #7DA23C #3CA261
monochromatic
#421B49 #6B2B75 #943CA2 #B359C2 #C886D2
Accessibility & contrast
On white
6.13
#943CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#943CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #943CA2
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##943CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##943CA2 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255BA5
Deuteranopia (green-blind)
#48659F
Tritanopia (blue-blind)
#964C69
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #943ca2; /* rgb */ color: rgb(148, 60, 162); /* oklch */ color: oklch(51.7% 0.174 321.9);
Tailwind
colors: {
custom: {
50: '#b678be',
500: '#943ca2',
950: '#000000',
},
}SCSS
$custom: #943ca2; $custom-light: #b678be; $custom-dark: #000000;
JSON
{
"hex": "#943ca2",
"rgb": {
"r": 148,
"g": 60,
"b": 162
},
"hsl": {
"h": 291.765,
"s": 45.946,
"l": 43.529
},
"oklch": {
"l": 0.51719,
"c": 0.17411,
"h": 321.9
},
"luminance": 0.12136
}Semantic roles & 50–950 ramp
primary
#943CA2
secondary
#86BC7D
accent
#D65264
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81