#9148BF#9148BF
#9148BF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.185 H 309.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9148BF |
|---|---|
| RGB | rgb(145, 72, 191) |
| HSL | hsl(277, 48%, 52%) |
| HSV | hsv(277, 62%, 75%) |
| CMYK | cmyk(24.1%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(44.82, 51.18, -50.28) |
| CIE-LCH | lch(44.82, 71.75, 315.51°) |
| OKLab | oklab(54.64% 0.1185 -0.1417) |
| OKLCH | oklch(54.64% 0.185 309.9) |
| XYZ | xyz(23.3966, 14.4165, 50.8303) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.37
Darkorchid
#9932CC
ΔE00 4.01
Deep Lavender
#8D5EB7
ΔE00 5.91
Royal Purple
#7851A9
ΔE00 5.93
Amethyst
#9B5FC0
ΔE00 6.57
Medium Purple
#9E43A2
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9148BF #76BF48
analogous
#5648BF #9148BF #BF48B1
triadic
#9148BF #BF9148 #48BF91
tetradic
#9148BF #BF5648 #76BF48 #48B1BF
square
#9148BF #BF5648 #76BF48 #48B1BF
split-complementary
#9148BF #B1BF48 #48BF56
monochromatic
#4E2468 #703496 #9148BF #AC75CF #C8A3DF
Accessibility & contrast
On white
5.41
#9148BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#9148BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9148BF
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9148BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9148BF | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#8B5F7D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9148bf; /* rgb */ color: rgb(145, 72, 191); /* oklch */ color: oklch(54.6% 0.185 309.9);
Tailwind
colors: {
custom: {
50: '#b57fd3',
500: '#9148bf',
950: '#000000',
},
}SCSS
$custom: #9148bf; $custom-light: #b57fd3; $custom-dark: #000000;
JSON
{
"hex": "#9148bf",
"rgb": {
"r": 145,
"g": 72,
"b": 191
},
"hsl": {
"h": 276.807,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.54642,
"c": 0.18477,
"h": 309.9
},
"luminance": 0.14416
}Semantic roles & 50–950 ramp
primary
#9148BF
secondary
#ABCC97
accent
#D85085
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83