#9145BA#9145BA
#9145BA is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.184 H 311.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9145BA |
|---|---|
| RGB | rgb(145, 69, 186) |
| HSL | hsl(279, 46%, 50%) |
| HSV | hsv(279, 63%, 73%) |
| CMYK | cmyk(22%, 62.9%, 0%, 27.1%) |
| CIE-LAB | lab(43.98, 51.55, -48.72) |
| CIE-LCH | lch(43.98, 70.93, 316.61°) |
| OKLab | oklab(53.93% 0.1223 -0.1371) |
| OKLCH | oklch(53.93% 0.184 311.7) |
| XYZ | xyz(22.6665, 13.8217, 47.9187) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.42
Darkorchid
#9932CC
ΔE00 3.90
Royal Purple
#7851A9
ΔE00 5.93
Medium Purple
#9E43A2
ΔE00 5.93
Barney
#AC1DB8
ΔE00 6.35
Deep Lavender
#8D5EB7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9145BA #6EBA45
analogous
#5645BA #9145BA #BA45A9
triadic
#9145BA #BA9145 #45BA91
tetradic
#9145BA #BA5645 #6EBA45 #45A9BA
square
#9145BA #BA5645 #6EBA45 #45A9BA
split-complementary
#9145BA #A9BA45 #45BA56
monochromatic
#4B2461 #6E348D #9145BA #AB72CB #C69EDB
Accessibility & contrast
On white
5.58
#9145BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#9145BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9145BA
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9145BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9145BA | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1064BE
Deuteranopia (green-blind)
#3B69B7
Tritanopia (blue-blind)
#8C5B79
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9145ba; /* rgb */ color: rgb(145, 69, 186); /* oklch */ color: oklch(53.9% 0.184 311.7);
Tailwind
colors: {
custom: {
50: '#b57dcf',
500: '#9145ba',
950: '#000000',
},
}SCSS
$custom: #9145ba; $custom-light: #b57dcf; $custom-dark: #000000;
JSON
{
"hex": "#9145ba",
"rgb": {
"r": 145,
"g": 69,
"b": 186
},
"hsl": {
"h": 278.974,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.53929,
"c": 0.18377,
"h": 311.7
},
"luminance": 0.13821
}Semantic roles & 50–950 ramp
primary
#9145BA
secondary
#A6C893
accent
#D65280
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82