#9543C4#9543C4
#9543C4 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.8% C 0.198 H 310.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9543C4 |
|---|---|
| RGB | rgb(149, 67, 196) |
| HSL | hsl(278, 52%, 52%) |
| HSV | hsv(278, 66%, 77%) |
| CMYK | cmyk(24%, 65.8%, 0%, 23.1%) |
| CIE-LAB | lab(44.79, 55.60, -53.22) |
| CIE-LCH | lch(44.79, 76.97, 316.26°) |
| OKLab | oklab(54.83% 0.1293 -0.1502) |
| OKLCH | oklch(54.83% 0.198 310.7) |
| XYZ | xyz(24.3635, 14.3899, 53.7079) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.85
Purply
#983FB2
ΔE00 3.36
Vibrant Purple
#AD03DE
ΔE00 6.09
Blueviolet
#8A2BE2
ΔE00 6.21
Barney
#AC1DB8
ΔE00 6.26
Violet (survey)
#9A0EEA
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9543C4 #72C443
analogous
#5543C4 #9543C4 #C443B2
triadic
#9543C4 #C49543 #43C495
tetradic
#9543C4 #C45543 #72C443 #43B2C4
square
#9543C4 #C45543 #72C443 #43B2C4
split-complementary
#9543C4 #B2C443 #43C455
monochromatic
#50226B #73309A #9543C4 #AF72D3 #CAA0E1
Accessibility & contrast
On white
5.42
#9543C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#9543C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9543C4
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9543C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9543C4 | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#336BC1
Tritanopia (blue-blind)
#8F5D7E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9543c4; /* rgb */ color: rgb(149, 67, 196); /* oklch */ color: oklch(54.8% 0.198 310.7);
Tailwind
colors: {
custom: {
50: '#b87dd7',
500: '#9543c4',
950: '#000000',
},
}SCSS
$custom: #9543c4; $custom-light: #b87dd7; $custom-dark: #000000;
JSON
{
"hex": "#9543c4",
"rgb": {
"r": 149,
"g": 67,
"b": 196
},
"hsl": {
"h": 278.14,
"s": 52.227,
"l": 51.569
},
"oklch": {
"l": 0.54827,
"c": 0.1982,
"h": 310.7
},
"luminance": 0.14389
}Semantic roles & 50–950 ramp
primary
#9543C4
secondary
#AACE95
accent
#DC4C80
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83