#8056BF#8056BF
#8056BF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.160 H 299.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8056BF |
|---|---|
| RGB | rgb(128, 86, 191) |
| HSL | hsl(264, 45%, 54%) |
| HSV | hsv(264, 55%, 75%) |
| CMYK | cmyk(33%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(45.64, 39.57, -49.08) |
| CIE-LCH | lch(45.64, 63.04, 308.88°) |
| OKLab | oklab(54.8% 0.0788 -0.1388) |
| OKLCH | oklch(54.8% 0.16 299.6) |
| XYZ | xyz(21.6316, 15.0062, 51.0370) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.05
Deep Lavender
#8D5EB7
ΔE00 4.40
Light Indigo
#6D5ACF
ΔE00 5.17
Slate Blue
#6A5ACD
ΔE00 5.52
Purpley
#8756E4
ΔE00 5.66
Iris
#6258C4
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8056BF #95BF56
analogous
#5661BF #8056BF #B556BF
triadic
#8056BF #BF8056 #56BF80
tetradic
#8056BF #BF5661 #95BF56 #56BFB5
square
#8056BF #BF5661 #95BF56 #56BFB5
split-complementary
#8056BF #BFB556 #61BF56
monochromatic
#462A70 #623B9D #8056BF #A182D0 #C3AFE1
Accessibility & contrast
On white
5.25
#8056BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#8056BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8056BF
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8056BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8056BF | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#396BBD
Tritanopia (blue-blind)
#736B82
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8056bf; /* rgb */ color: rgb(128, 86, 191); /* oklch */ color: oklch(54.8% 0.160 299.6);
Tailwind
colors: {
custom: {
50: '#a887d3',
500: '#8056bf',
950: '#000000',
},
}SCSS
$custom: #8056bf; $custom-light: #a887d3; $custom-dark: #000000;
JSON
{
"hex": "#8056bf",
"rgb": {
"r": 128,
"g": 86,
"b": 191
},
"hsl": {
"h": 264,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.54798,
"c": 0.15958,
"h": 299.6
},
"luminance": 0.15006
}Semantic roles & 50–950 ramp
primary
#8056BF
secondary
#BDCFA2
accent
#D553A1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83