#9145BB#9145BB
#9145BB is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.185 H 311.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9145BB |
|---|---|
| RGB | rgb(145, 69, 187) |
| HSL | hsl(279, 46%, 50%) |
| HSV | hsv(279, 63%, 73%) |
| CMYK | cmyk(22.5%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(44.04, 51.77, -49.21) |
| CIE-LCH | lch(44.04, 71.42, 316.45°) |
| OKLab | oklab(53.99% 0.1223 -0.1386) |
| OKLCH | oklch(53.99% 0.185 311.4) |
| XYZ | xyz(22.7732, 13.8644, 48.4805) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.55
Darkorchid
#9932CC
ΔE00 3.80
Royal Purple
#7851A9
ΔE00 5.97
Medium Purple
#9E43A2
ΔE00 6.08
Barney
#AC1DB8
ΔE00 6.39
Deep Lavender
#8D5EB7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9145BB #6FBB45
analogous
#5645BB #9145BB #BB45AA
triadic
#9145BB #BB9145 #45BB91
tetradic
#9145BB #BB5645 #6FBB45 #45AABB
square
#9145BB #BB5645 #6FBB45 #45AABB
split-complementary
#9145BB #AABB45 #45BB56
monochromatic
#4C2462 #6E348F #9145BB #AC72CB #C69FDC
Accessibility & contrast
On white
5.57
#9145BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#9145BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9145BB
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9145BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9145BB | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D64BF
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#8C5C7A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9145bb; /* rgb */ color: rgb(145, 69, 187); /* oklch */ color: oklch(54.0% 0.185 311.4);
Tailwind
colors: {
custom: {
50: '#b57dd0',
500: '#9145bb',
950: '#000000',
},
}SCSS
$custom: #9145bb; $custom-light: #b57dd0; $custom-dark: #000000;
JSON
{
"hex": "#9145bb",
"rgb": {
"r": 145,
"g": 69,
"b": 187
},
"hsl": {
"h": 278.644,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.53993,
"c": 0.18481,
"h": 311.4
},
"luminance": 0.13864
}Semantic roles & 50–950 ramp
primary
#9145BB
secondary
#A6C894
accent
#D65281
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82