#7156BE#7156BE
#7156BE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.3% C 0.157 H 292.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7156BE |
|---|---|
| RGB | rgb(113, 86, 190) |
| HSL | hsl(256, 44%, 54%) |
| HSV | hsv(256, 55%, 75%) |
| CMYK | cmyk(40.5%, 54.7%, 0%, 25.5%) |
| CIE-LAB | lab(44.07, 35.64, -51.11) |
| CIE-LCH | lch(44.07, 62.31, 304.89°) |
| OKLab | oklab(53.26% 0.0592 -0.1452) |
| OKLCH | oklch(53.26% 0.157 292.2) |
| XYZ | xyz(19.4296, 13.8835, 50.3613) |
| Luminance | 0.1388 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.18
Slate Blue
#6A5ACD
ΔE00 3.21
Iris
#6258C4
ΔE00 3.40
Royal Purple
#7851A9
ΔE00 4.64
Dark Periwinkle
#665FD1
ΔE00 4.95
Bluey Purple
#6241C7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7156BE #A3BE56
analogous
#566FBE #7156BE #A556BE
triadic
#7156BE #BE7156 #56BE71
tetradic
#7156BE #BE566F #A3BE56 #56BEA5
square
#7156BE #BE566F #A3BE56 #56BEA5
split-complementary
#7156BE #BEA556 #6FBE56
monochromatic
#3C2B6F #543C9B #7156BE #9682CF #BBAEE0
Accessibility & contrast
On white
5.56
#7156BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#7156BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7156BE
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7156BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7156BE | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#246AC2
Deuteranopia (green-blind)
#2A66BC
Tritanopia (blue-blind)
#5C6C82
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7156be; /* rgb */ color: rgb(113, 86, 190); /* oklch */ color: oklch(53.3% 0.157 292.2);
Tailwind
colors: {
custom: {
50: '#9e86d2',
500: '#7156be',
950: '#000000',
},
}SCSS
$custom: #7156be; $custom-light: #9e86d2; $custom-dark: #000000;
JSON
{
"hex": "#7156be",
"rgb": {
"r": 113,
"g": 86,
"b": 190
},
"hsl": {
"h": 255.577,
"s": 44.444,
"l": 54.118
},
"oklch": {
"l": 0.53257,
"c": 0.15681,
"h": 292.2
},
"luminance": 0.13884
}Semantic roles & 50–950 ramp
primary
#7156BE
secondary
#C3CEA2
accent
#D454B3
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83