#9156BC#9156BC
#9156BC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.160 H 308.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9156BC |
|---|---|
| RGB | rgb(145, 86, 188) |
| HSL | hsl(275, 43%, 54%) |
| HSV | hsv(275, 54%, 74%) |
| CMYK | cmyk(22.9%, 54.3%, 0%, 26.3%) |
| CIE-LAB | lab(47.37, 43.22, -44.46) |
| CIE-LCH | lch(47.37, 62.01, 314.19°) |
| OKLab | oklab(56.45% 0.1005 -0.1248) |
| OKLCH | oklch(56.45% 0.16 308.9) |
| XYZ | xyz(24.0802, 16.3065, 49.4461) |
| Luminance | 0.1631 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.52
Amethyst
#9B5FC0
ΔE00 3.43
Purply
#983FB2
ΔE00 5.66
Royal Purple
#7851A9
ΔE00 5.71
Lightish Purple
#A552E6
ΔE00 6.91
Purpley
#8756E4
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9156BC #81BC56
analogous
#5E56BC #9156BC #BC56B4
triadic
#9156BC #BC9156 #56BC91
tetradic
#9156BC #BC5E56 #81BC56 #56B4BC
square
#9156BC #BC5E56 #81BC56 #56B4BC
split-complementary
#9156BC #B4BC56 #56BC5E
monochromatic
#512B6D #723C98 #9156BC #AE82CD #CAAEDF
Accessibility & contrast
On white
4.93
#9156BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#9156BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9156BC
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9156BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9156BC | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#8B6881
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9156bc; /* rgb */ color: rgb(145, 86, 188); /* oklch */ color: oklch(56.4% 0.160 308.9);
Tailwind
colors: {
custom: {
50: '#b488d1',
500: '#9156bc',
950: '#000000',
},
}SCSS
$custom: #9156bc; $custom-light: #b488d1; $custom-dark: #000000;
JSON
{
"hex": "#9156bc",
"rgb": {
"r": 145,
"g": 86,
"b": 188
},
"hsl": {
"h": 274.706,
"s": 43.22,
"l": 53.725
},
"oklch": {
"l": 0.56449,
"c": 0.16023,
"h": 308.9
},
"luminance": 0.16306
}Semantic roles & 50–950 ramp
primary
#9156BC
secondary
#B3CDA1
accent
#D3558A
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82