#9156BD#9156BD
#9156BD is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.161 H 308.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9156BD |
|---|---|
| RGB | rgb(145, 86, 189) |
| HSL | hsl(274, 44%, 54%) |
| HSV | hsv(274, 54%, 74%) |
| CMYK | cmyk(23.3%, 54.5%, 0%, 25.9%) |
| CIE-LAB | lab(47.43, 43.45, -44.95) |
| CIE-LCH | lch(47.43, 62.52, 314.02°) |
| OKLab | oklab(56.51% 0.1006 -0.1262) |
| OKLCH | oklch(56.51% 0.161 308.6) |
| XYZ | xyz(24.1883, 16.3498, 50.0158) |
| Luminance | 0.1635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.59
Amethyst
#9B5FC0
ΔE00 3.44
Purply
#983FB2
ΔE00 5.73
Royal Purple
#7851A9
ΔE00 5.76
Lightish Purple
#A552E6
ΔE00 6.76
Purpley
#8756E4
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9156BD #82BD56
analogous
#5E56BD #9156BD #BD56B6
triadic
#9156BD #BD9156 #56BD91
tetradic
#9156BD #BD5E56 #82BD56 #56B6BD
square
#9156BD #BD5E56 #82BD56 #56B6BD
split-complementary
#9156BD #B6BD56 #56BD5E
monochromatic
#512B6E #723C9A #9156BD #AE82CE #CAAEDF
Accessibility & contrast
On white
4.92
#9156BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#9156BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9156BD
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9156BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9156BD | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366EC0
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#8B6881
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9156bd; /* rgb */ color: rgb(145, 86, 189); /* oklch */ color: oklch(56.5% 0.161 308.6);
Tailwind
colors: {
custom: {
50: '#b488d1',
500: '#9156bd',
950: '#000000',
},
}SCSS
$custom: #9156bd; $custom-light: #b488d1; $custom-dark: #000000;
JSON
{
"hex": "#9156bd",
"rgb": {
"r": 145,
"g": 86,
"b": 189
},
"hsl": {
"h": 274.369,
"s": 43.83,
"l": 53.922
},
"oklch": {
"l": 0.56508,
"c": 0.16138,
"h": 308.6
},
"luminance": 0.16349
}Semantic roles & 50–950 ramp
primary
#9156BD
secondary
#B4CDA1
accent
#D4548B
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82