#8156BB#8156BB
#8156BB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.6% C 0.155 H 301.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8156BB |
|---|---|
| RGB | rgb(129, 86, 187) |
| HSL | hsl(266, 43%, 54%) |
| HSV | hsv(266, 54%, 73%) |
| CMYK | cmyk(31%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(45.51, 38.80, -46.96) |
| CIE-LCH | lch(45.51, 60.91, 309.57°) |
| OKLab | oklab(54.65% 0.0799 -0.1325) |
| OKLCH | oklch(54.65% 0.155 301.1) |
| XYZ | xyz(21.3486, 14.9105, 48.7574) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.52
Deep Lavender
#8D5EB7
ΔE00 3.90
Light Indigo
#6D5ACF
ΔE00 5.86
Slate Blue
#6A5ACD
ΔE00 6.17
Amethyst
#9B5FC0
ΔE00 6.24
Purpley
#8756E4
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8156BB #90BB56
analogous
#565DBB #8156BB #B456BB
triadic
#8156BB #BB8156 #56BB81
tetradic
#8156BB #BB565D #90BB56 #56BBB4
square
#8156BB #BB565D #90BB56 #56BBB4
split-complementary
#8156BB #BBB456 #5DBB56
monochromatic
#472B6B #633D97 #8156BB #A282CD #C2ADDE
Accessibility & contrast
On white
5.27
#8156BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#8156BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8156BB
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8156BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8156BB | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#3E6BB9
Tritanopia (blue-blind)
#766A80
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8156bb; /* rgb */ color: rgb(129, 86, 187); /* oklch */ color: oklch(54.6% 0.155 301.1);
Tailwind
colors: {
custom: {
50: '#a987d0',
500: '#8156bb',
950: '#000000',
},
}SCSS
$custom: #8156bb; $custom-light: #a987d0; $custom-dark: #000000;
JSON
{
"hex": "#8156bb",
"rgb": {
"r": 129,
"g": 86,
"b": 187
},
"hsl": {
"h": 265.545,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.54649,
"c": 0.15475,
"h": 301.1
},
"luminance": 0.14911
}Semantic roles & 50–950 ramp
primary
#8156BB
secondary
#BACCA1
accent
#D2559D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82