#7156BB#7156BB
#7156BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.1% C 0.153 H 292.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7156BB |
|---|---|
| RGB | rgb(113, 86, 187) |
| HSL | hsl(256, 43%, 54%) |
| HSV | hsv(256, 54%, 73%) |
| CMYK | cmyk(39.6%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(43.88, 34.80, -49.66) |
| CIE-LCH | lch(43.88, 60.64, 305.02°) |
| OKLab | oklab(53.06% 0.0591 -0.1409) |
| OKLCH | oklch(53.06% 0.153 292.8) |
| XYZ | xyz(19.1051, 13.7537, 48.6522) |
| Luminance | 0.1375 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.63
Slate Blue
#6A5ACD
ΔE00 3.63
Iris
#6258C4
ΔE00 3.66
Royal Purple
#7851A9
ΔE00 4.22
Dark Periwinkle
#665FD1
ΔE00 5.31
Bluey Purple
#6241C7
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7156BB #A0BB56
analogous
#566DBB #7156BB #A356BB
triadic
#7156BB #BB7156 #56BB71
tetradic
#7156BB #BB566D #A0BB56 #56BBA3
square
#7156BB #BB566D #A0BB56 #56BBA3
split-complementary
#7156BB #BBA356 #6DBB56
monochromatic
#3C2B6B #553D97 #7156BB #9682CD #BAADDE
Accessibility & contrast
On white
5.60
#7156BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#7156BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7156BB
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7156BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7156BB | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#2E66B9
Tritanopia (blue-blind)
#5E6B80
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7156bb; /* rgb */ color: rgb(113, 86, 187); /* oklch */ color: oklch(53.1% 0.153 292.8);
Tailwind
colors: {
custom: {
50: '#9e86d0',
500: '#7156bb',
950: '#000000',
},
}SCSS
$custom: #7156bb; $custom-light: #9e86d0; $custom-dark: #000000;
JSON
{
"hex": "#7156bb",
"rgb": {
"r": 113,
"g": 86,
"b": 187
},
"hsl": {
"h": 256.04,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.53058,
"c": 0.15284,
"h": 292.8
},
"luminance": 0.13754
}Semantic roles & 50–950 ramp
primary
#7156BB
secondary
#C0CCA1
accent
#D255B1
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82