#7B56CE#7B56CE
#7B56CE is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.3% C 0.178 H 294.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7B56CE |
|---|---|
| RGB | rgb(123, 86, 206) |
| HSL | hsl(259, 55%, 57%) |
| HSV | hsv(259, 58%, 81%) |
| CMYK | cmyk(40.3%, 58.3%, 0%, 19.2%) |
| CIE-LAB | lab(46.07, 42.36, -57.08) |
| CIE-LCH | lch(46.07, 71.08, 306.58°) |
| OKLab | oklab(55.3% 0.0724 -0.1624) |
| OKLCH | oklch(55.3% 0.178 294) |
| XYZ | xyz(22.6338, 15.3222, 60.1455) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.02
Slate Blue
#6A5ACD
ΔE00 3.54
Purpley
#8756E4
ΔE00 3.71
Iris
#6258C4
ΔE00 4.99
Dark Periwinkle
#665FD1
ΔE00 5.12
Royal Purple
#7851A9
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B56CE #A9CE56
analogous
#566DCE #7B56CE #B756CE
triadic
#7B56CE #CE7B56 #56CE7B
tetradic
#7B56CE #CE566D #A9CE56 #56CEB7
square
#7B56CE #CE566D #A9CE56 #56CEB7
split-complementary
#7B56CE #CEB756 #6DCE56
monochromatic
#432683 #5B34B3 #7B56CE #A085DC #C5B5EA
Accessibility & contrast
On white
5.17
#7B56CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#7B56CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B56CE
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B56CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B56CE | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#066ED2
Deuteranopia (green-blind)
#1D6BCB
Tritanopia (blue-blind)
#65708A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7b56ce; /* rgb */ color: rgb(123, 86, 206); /* oklch */ color: oklch(55.3% 0.178 294.0);
Tailwind
colors: {
custom: {
50: '#a687de',
500: '#7b56ce',
950: '#000000',
},
}SCSS
$custom: #7b56ce; $custom-light: #a687de; $custom-dark: #000000;
JSON
{
"hex": "#7b56ce",
"rgb": {
"r": 123,
"g": 86,
"b": 206
},
"hsl": {
"h": 258.5,
"s": 55.046,
"l": 57.255
},
"oklch": {
"l": 0.55297,
"c": 0.17783,
"h": 294
},
"luminance": 0.15323
}Semantic roles & 50–950 ramp
primary
#7B56CE
secondary
#C9D8A8
accent
#DE49B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83