#7056BF#7056BF
#7056BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.2% C 0.158 H 291.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7056BF |
|---|---|
| RGB | rgb(112, 86, 191) |
| HSL | hsl(255, 45%, 54%) |
| HSV | hsv(255, 55%, 75%) |
| CMYK | cmyk(41.4%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(44.03, 35.68, -51.75) |
| CIE-LCH | lch(44.03, 62.86, 304.59°) |
| OKLab | oklab(53.23% 0.058 -0.1471) |
| OKLCH | oklch(53.23% 0.158 291.5) |
| XYZ | xyz(19.4113, 13.8613, 50.9329) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.95
Slate Blue
#6A5ACD
ΔE00 2.96
Iris
#6258C4
ΔE00 3.13
Dark Periwinkle
#665FD1
ΔE00 4.72
Royal Purple
#7851A9
ΔE00 4.90
Bluey Purple
#6241C7
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7056BF #A5BF56
analogous
#5671BF #7056BF #A556BF
triadic
#7056BF #BF7056 #56BF70
tetradic
#7056BF #BF5671 #A5BF56 #56BFA5
square
#7056BF #BF5671 #A5BF56 #56BFA5
split-complementary
#7056BF #BFA556 #71BF56
monochromatic
#3C2A70 #533B9D #7056BF #9682D0 #BBAFE1
Accessibility & contrast
On white
5.57
#7056BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#7056BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7056BF
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7056BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7056BF | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226AC3
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#5A6C82
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7056bf; /* rgb */ color: rgb(112, 86, 191); /* oklch */ color: oklch(53.2% 0.158 291.5);
Tailwind
colors: {
custom: {
50: '#9e86d3',
500: '#7056bf',
950: '#000000',
},
}SCSS
$custom: #7056bf; $custom-light: #9e86d3; $custom-dark: #000000;
JSON
{
"hex": "#7056bf",
"rgb": {
"r": 112,
"g": 86,
"b": 191
},
"hsl": {
"h": 254.857,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.53231,
"c": 0.1581,
"h": 291.5
},
"luminance": 0.13862
}Semantic roles & 50–950 ramp
primary
#7056BF
secondary
#C4CFA2
accent
#D553B5
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83