#7156CB#7156CB
#7156CB is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.2% C 0.174 H 290.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7156CB |
|---|---|
| RGB | rgb(113, 86, 203) |
| HSL | hsl(254, 53%, 57%) |
| HSV | hsv(254, 58%, 80%) |
| CMYK | cmyk(44.3%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(44.91, 39.32, -57.28) |
| CIE-LCH | lch(44.91, 69.47, 304.47°) |
| OKLab | oklab(54.15% 0.0594 -0.1633) |
| OKLCH | oklch(54.15% 0.174 290) |
| XYZ | xyz(20.9143, 14.4774, 58.1808) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.64
Slate Blue
#6A5ACD
ΔE00 1.94
Iris
#6258C4
ΔE00 3.11
Dark Periwinkle
#665FD1
ΔE00 3.83
Purpley
#8756E4
ΔE00 5.19
Bluey Purple
#6241C7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7156CB #B0CB56
analogous
#5676CB #7156CB #AC56CB
triadic
#7156CB #CB7156 #56CB71
tetradic
#7156CB #CB5676 #B0CB56 #56CBAC
square
#7156CB #CB5676 #B0CB56 #56CBAC
split-complementary
#7156CB #CBAC56 #76CB56
monochromatic
#3C277F #5136AE #7156CB #9885D9 #C0B4E8
Accessibility & contrast
On white
5.39
#7156CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#7156CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7156CB
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7156CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7156CB | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026CCF
Deuteranopia (green-blind)
#0F68C8
Tritanopia (blue-blind)
#567088
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7156cb; /* rgb */ color: rgb(113, 86, 203); /* oklch */ color: oklch(54.2% 0.174 290.0);
Tailwind
colors: {
custom: {
50: '#a086dc',
500: '#7156cb',
950: '#000000',
},
}SCSS
$custom: #7156cb; $custom-light: #a086dc; $custom-dark: #000000;
JSON
{
"hex": "#7156cb",
"rgb": {
"r": 113,
"g": 86,
"b": 203
},
"hsl": {
"h": 253.846,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.54151,
"c": 0.17377,
"h": 290
},
"luminance": 0.14478
}Semantic roles & 50–950 ramp
primary
#7156CB
secondary
#CBD6A6
accent
#DC4BBB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83