#9145BF#9145BF
#9145BF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.3% C 0.189 H 310.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9145BF |
|---|---|
| RGB | rgb(145, 69, 191) |
| HSL | hsl(277, 49%, 51%) |
| HSV | hsv(277, 64%, 75%) |
| CMYK | cmyk(24.1%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(44.29, 52.65, -51.14) |
| CIE-LCH | lch(44.29, 73.40, 315.83°) |
| OKLab | oklab(54.25% 0.1221 -0.1442) |
| OKLCH | oklch(54.25% 0.189 310.3) |
| XYZ | xyz(23.2073, 14.0381, 50.7672) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.11
Darkorchid
#9932CC
ΔE00 3.47
Royal Purple
#7851A9
ΔE00 6.16
Deep Lavender
#8D5EB7
ΔE00 6.55
Barney
#AC1DB8
ΔE00 6.62
Blueviolet
#8A2BE2
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9145BF #73BF45
analogous
#5445BF #9145BF #BF45B0
triadic
#9145BF #BF9145 #45BF91
tetradic
#9145BF #BF5445 #73BF45 #45B0BF
square
#9145BF #BF5445 #73BF45 #45B0BF
split-complementary
#9145BF #B0BF45 #45BF54
monochromatic
#4D2366 #6F3394 #9145BF #AC73CF #C7A0DE
Accessibility & contrast
On white
5.52
#9145BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#9145BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9145BF
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9145BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9145BF | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#8B5D7C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9145bf; /* rgb */ color: rgb(145, 69, 191); /* oklch */ color: oklch(54.3% 0.189 310.3);
Tailwind
colors: {
custom: {
50: '#b57dd3',
500: '#9145bf',
950: '#000000',
},
}SCSS
$custom: #9145bf; $custom-light: #b57dd3; $custom-dark: #000000;
JSON
{
"hex": "#9145bf",
"rgb": {
"r": 145,
"g": 69,
"b": 191
},
"hsl": {
"h": 277.377,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.54254,
"c": 0.18901,
"h": 310.3
},
"luminance": 0.14038
}Semantic roles & 50–950 ramp
primary
#9145BF
secondary
#A9CB95
accent
#D84F83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83