#9141BA#9141BA
#9141BA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.4% C 0.189 H 312.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9141BA |
|---|---|
| RGB | rgb(145, 65, 186) |
| HSL | hsl(280, 48%, 49%) |
| HSV | hsv(280, 65%, 73%) |
| CMYK | cmyk(22%, 65.1%, 0%, 27.1%) |
| CIE-LAB | lab(43.28, 53.46, -49.84) |
| CIE-LCH | lch(43.28, 73.09, 317.01°) |
| OKLab | oklab(53.43% 0.1271 -0.1404) |
| OKLCH | oklch(53.43% 0.189 312.1) |
| XYZ | xyz(22.4287, 13.3461, 47.8394) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.25
Darkorchid
#9932CC
ΔE00 3.35
Barney
#AC1DB8
ΔE00 5.85
Medium Purple
#9E43A2
ΔE00 6.03
Royal Purple
#7851A9
ΔE00 6.33
Blueviolet
#8A2BE2
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9141BA #6ABA41
analogous
#5441BA #9141BA #BA41A7
triadic
#9141BA #BA9141 #41BA91
tetradic
#9141BA #BA5441 #6ABA41 #41A7BA
square
#9141BA #BA5441 #6ABA41 #41A7BA
split-complementary
#9141BA #A7BA41 #41BA54
monochromatic
#4A215F #6E318D #9141BA #AB6CCC #C59ADC
Accessibility & contrast
On white
5.72
#9141BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#9141BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9141BA
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9141BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9141BA | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#3768B7
Tritanopia (blue-blind)
#8C5978
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9141ba; /* rgb */ color: rgb(145, 65, 186); /* oklch */ color: oklch(53.4% 0.189 312.1);
Tailwind
colors: {
custom: {
50: '#b57bcf',
500: '#9141ba',
950: '#000000',
},
}SCSS
$custom: #9141ba; $custom-light: #b57bcf; $custom-dark: #000000;
JSON
{
"hex": "#9141ba",
"rgb": {
"r": 145,
"g": 65,
"b": 186
},
"hsl": {
"h": 279.669,
"s": 48.207,
"l": 49.216
},
"oklch": {
"l": 0.53426,
"c": 0.18937,
"h": 312.1
},
"luminance": 0.13346
}Semantic roles & 50–950 ramp
primary
#9141BA
secondary
#A2C88F
accent
#D8507E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82