#7B56BF#7B56BF
#7B56BF is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.3% C 0.159 H 297.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7B56BF |
|---|---|
| RGB | rgb(123, 86, 191) |
| HSL | hsl(261, 45%, 54%) |
| HSV | hsv(261, 55%, 75%) |
| CMYK | cmyk(35.6%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(45.12, 38.33, -49.95) |
| CIE-LCH | lch(45.12, 62.96, 307.51°) |
| OKLab | oklab(54.29% 0.0723 -0.1415) |
| OKLCH | oklch(54.29% 0.159 297.1) |
| XYZ | xyz(20.8978, 14.6278, 51.0026) |
| Luminance | 0.1463 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.04
Light Indigo
#6D5ACF
ΔE00 4.33
Slate Blue
#6A5ACD
ΔE00 4.61
Deep Lavender
#8D5EB7
ΔE00 5.25
Iris
#6258C4
ΔE00 5.35
Purpley
#8756E4
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B56BF #9ABF56
analogous
#5666BF #7B56BF #B056BF
triadic
#7B56BF #BF7B56 #56BF7B
tetradic
#7B56BF #BF5666 #9ABF56 #56BFB0
square
#7B56BF #BF5666 #9ABF56 #56BFB0
split-complementary
#7B56BF #BFB056 #66BF56
monochromatic
#432A70 #5E3B9D #7B56BF #9E82D0 #C0AFE1
Accessibility & contrast
On white
5.35
#7B56BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#7B56BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B56BF
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B56BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B56BF | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286BC3
Deuteranopia (green-blind)
#346ABD
Tritanopia (blue-blind)
#6B6B82
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7b56bf; /* rgb */ color: rgb(123, 86, 191); /* oklch */ color: oklch(54.3% 0.159 297.1);
Tailwind
colors: {
custom: {
50: '#a587d3',
500: '#7b56bf',
950: '#000000',
},
}SCSS
$custom: #7b56bf; $custom-light: #a587d3; $custom-dark: #000000;
JSON
{
"hex": "#7b56bf",
"rgb": {
"r": 123,
"g": 86,
"b": 191
},
"hsl": {
"h": 261.143,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.54291,
"c": 0.15886,
"h": 297.1
},
"luminance": 0.14628
}Semantic roles & 50–950 ramp
primary
#7B56BF
secondary
#BFCFA2
accent
#D553A7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83