#7956BF#7956BF
#7956BF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.1% C 0.159 H 296.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7956BF |
|---|---|
| RGB | rgb(121, 86, 191) |
| HSL | hsl(260, 45%, 54%) |
| HSV | hsv(260, 55%, 75%) |
| CMYK | cmyk(36.6%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(44.92, 37.84, -50.28) |
| CIE-LCH | lch(44.92, 62.93, 306.96°) |
| OKLab | oklab(54.09% 0.0697 -0.1425) |
| OKLCH | oklch(54.09% 0.159 296) |
| XYZ | xyz(20.6145, 14.4818, 50.9893) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.02
Royal Purple
#7851A9
ΔE00 4.11
Slate Blue
#6A5ACD
ΔE00 4.27
Iris
#6258C4
ΔE00 4.94
Deep Lavender
#8D5EB7
ΔE00 5.61
Purpley
#8756E4
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7956BF #9CBF56
analogous
#5668BF #7956BF #AE56BF
triadic
#7956BF #BF7956 #56BF79
tetradic
#7956BF #BF5668 #9CBF56 #56BFAE
square
#7956BF #BF5668 #9CBF56 #56BFAE
split-complementary
#7956BF #BFAE56 #68BF56
monochromatic
#422A70 #5C3B9D #7956BF #9C82D0 #BFAFE1
Accessibility & contrast
On white
5.39
#7956BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#7956BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7956BF
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7956BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7956BF | 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)
#276BC3
Deuteranopia (green-blind)
#3269BD
Tritanopia (blue-blind)
#686C82
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7956bf; /* rgb */ color: rgb(121, 86, 191); /* oklch */ color: oklch(54.1% 0.159 296.0);
Tailwind
colors: {
custom: {
50: '#a487d3',
500: '#7956bf',
950: '#000000',
},
}SCSS
$custom: #7956bf; $custom-light: #a487d3; $custom-dark: #000000;
JSON
{
"hex": "#7956bf",
"rgb": {
"r": 121,
"g": 86,
"b": 191
},
"hsl": {
"h": 260,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.54093,
"c": 0.15863,
"h": 296
},
"luminance": 0.14482
}Semantic roles & 50–950 ramp
primary
#7956BF
secondary
#C0CFA2
accent
#D553AA
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83