#7956BE#7956BE
#7956BE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.0% C 0.157 H 296.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7956BE |
|---|---|
| RGB | rgb(121, 86, 190) |
| HSL | hsl(260, 44%, 54%) |
| HSV | hsv(260, 55%, 75%) |
| CMYK | cmyk(36.3%, 54.7%, 0%, 25.5%) |
| CIE-LAB | lab(44.85, 37.57, -49.80) |
| CIE-LCH | lch(44.85, 62.38, 307.03°) |
| OKLab | oklab(54.03% 0.0696 -0.1411) |
| OKLCH | oklch(54.03% 0.157 296.3) |
| XYZ | xyz(20.5048, 14.4379, 50.4117) |
| Luminance | 0.1444 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.95
Light Indigo
#6D5ACF
ΔE00 4.15
Slate Blue
#6A5ACD
ΔE00 4.39
Iris
#6258C4
ΔE00 5.01
Deep Lavender
#8D5EB7
ΔE00 5.53
Purpley
#8756E4
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7956BE #9BBE56
analogous
#5667BE #7956BE #AD56BE
triadic
#7956BE #BE7956 #56BE79
tetradic
#7956BE #BE5667 #9BBE56 #56BEAD
square
#7956BE #BE5667 #9BBE56 #56BEAD
split-complementary
#7956BE #BEAD56 #67BE56
monochromatic
#422B6F #5C3C9B #7956BE #9C82CF #BFAEE0
Accessibility & contrast
On white
5.40
#7956BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#7956BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7956BE
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7956BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7956BE | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#696B82
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7956be; /* rgb */ color: rgb(121, 86, 190); /* oklch */ color: oklch(54.0% 0.157 296.3);
Tailwind
colors: {
custom: {
50: '#a387d2',
500: '#7956be',
950: '#000000',
},
}SCSS
$custom: #7956be; $custom-light: #a387d2; $custom-dark: #000000;
JSON
{
"hex": "#7956be",
"rgb": {
"r": 121,
"g": 86,
"b": 190
},
"hsl": {
"h": 260.192,
"s": 44.444,
"l": 54.118
},
"oklch": {
"l": 0.54027,
"c": 0.15735,
"h": 296.3
},
"luminance": 0.14438
}Semantic roles & 50–950 ramp
primary
#7956BE
secondary
#BFCEA2
accent
#D454A9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83