#8056BB#8056BB
#8056BB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.155 H 300.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8056BB |
|---|---|
| RGB | rgb(128, 86, 187) |
| HSL | hsl(265, 43%, 54%) |
| HSV | hsv(265, 54%, 73%) |
| CMYK | cmyk(31.6%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(45.40, 38.54, -47.13) |
| CIE-LCH | lch(45.40, 60.89, 309.27°) |
| OKLab | oklab(54.55% 0.0786 -0.1331) |
| OKLCH | oklch(54.55% 0.155 300.6) |
| XYZ | xyz(21.1974, 14.8325, 48.7503) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.47
Deep Lavender
#8D5EB7
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 5.68
Slate Blue
#6A5ACD
ΔE00 5.98
Purpley
#8756E4
ΔE00 6.32
Amethyst
#9B5FC0
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8056BB #91BB56
analogous
#565EBB #8056BB #B256BB
triadic
#8056BB #BB8056 #56BB80
tetradic
#8056BB #BB565E #91BB56 #56BBB2
square
#8056BB #BB565E #91BB56 #56BBB2
split-complementary
#8056BB #BBB256 #5EBB56
monochromatic
#462B6B #623D97 #8056BB #A182CD #C2ADDE
Accessibility & contrast
On white
5.29
#8056BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#8056BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8056BB
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8056BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8056BB | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#746A80
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8056bb; /* rgb */ color: rgb(128, 86, 187); /* oklch */ color: oklch(54.5% 0.155 300.6);
Tailwind
colors: {
custom: {
50: '#a887d0',
500: '#8056bb',
950: '#000000',
},
}SCSS
$custom: #8056bb; $custom-light: #a887d0; $custom-dark: #000000;
JSON
{
"hex": "#8056bb",
"rgb": {
"r": 128,
"g": 86,
"b": 187
},
"hsl": {
"h": 264.95,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.54545,
"c": 0.15456,
"h": 300.6
},
"luminance": 0.14833
}Semantic roles & 50–950 ramp
primary
#8056BB
secondary
#BACCA1
accent
#D2559E
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82