#8956BC#8956BC
#8956BC is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.158 H 304.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8956BC |
|---|---|
| RGB | rgb(137, 86, 188) |
| HSL | hsl(270, 43%, 54%) |
| HSV | hsv(270, 54%, 74%) |
| CMYK | cmyk(27.1%, 54.3%, 0%, 26.3%) |
| CIE-LAB | lab(46.45, 41.12, -45.99) |
| CIE-LCH | lch(46.45, 61.69, 311.80°) |
| OKLab | oklab(55.56% 0.0903 -0.1294) |
| OKLCH | oklch(55.56% 0.158 304.9) |
| XYZ | xyz(22.7195, 15.6049, 49.3823) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.86
Royal Purple
#7851A9
ΔE00 4.45
Amethyst
#9B5FC0
ΔE00 4.76
Purply
#983FB2
ΔE00 6.30
Purpley
#8756E4
ΔE00 6.42
Light Indigo
#6D5ACF
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8956BC #89BC56
analogous
#5656BC #8956BC #BC56BC
triadic
#8956BC #BC8956 #56BC89
tetradic
#8956BC #BC5656 #89BC56 #56BCBC
square
#8956BC #BC5656 #89BC56 #56BCBC
split-complementary
#8956BC #BCBC56 #56BC56
monochromatic
#4C2B6D #6A3C98 #8956BC #A882CD #C6AEDF
Accessibility & contrast
On white
5.10
#8956BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#8956BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8956BC
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8956BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8956BC | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336DBF
Deuteranopia (green-blind)
#446EBA
Tritanopia (blue-blind)
#806981
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8956bc; /* rgb */ color: rgb(137, 86, 188); /* oklch */ color: oklch(55.6% 0.158 304.9);
Tailwind
colors: {
custom: {
50: '#ae87d1',
500: '#8956bc',
950: '#000000',
},
}SCSS
$custom: #8956bc; $custom-light: #ae87d1; $custom-dark: #000000;
JSON
{
"hex": "#8956bc",
"rgb": {
"r": 137,
"g": 86,
"b": 188
},
"hsl": {
"h": 270,
"s": 43.22,
"l": 53.725
},
"oklch": {
"l": 0.55562,
"c": 0.15783,
"h": 304.9
},
"luminance": 0.15605
}Semantic roles & 50–950 ramp
primary
#8956BC
secondary
#B7CDA1
accent
#D35594
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82