#7946BF#7946BF
#7946BF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.6% C 0.182 H 299.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7946BF |
|---|---|
| RGB | rgb(121, 70, 191) |
| HSL | hsl(265, 49%, 51%) |
| HSV | hsv(265, 63%, 75%) |
| CMYK | cmyk(36.6%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(41.54, 46.75, -55.71) |
| CIE-LCH | lch(41.54, 72.73, 310.00°) |
| OKLab | oklab(51.63% 0.0891 -0.1585) |
| OKLCH | oklch(51.63% 0.182 299.3) |
| XYZ | xyz(19.4770, 12.2067, 50.6101) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.58
Royal Purple
#7851A9
ΔE00 4.90
Bluish Purple
#703BE7
ΔE00 5.98
Darkorchid
#9932CC
ΔE00 6.17
Blueviolet
#8A2BE2
ΔE00 6.18
Burple
#6832E3
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7946BF #8CBF46
analogous
#464FBF #7946BF #B546BF
triadic
#7946BF #BF7946 #46BF79
tetradic
#7946BF #BF464F #8CBF46 #46BFB5
square
#7946BF #BF464F #8CBF46 #46BFB5
split-complementary
#7946BF #BFB546 #4FBF46
monochromatic
#402467 #5C3394 #7946BF #9A73CF #BBA1DE
Accessibility & contrast
On white
6.10
#7946BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#7946BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7946BF
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7946BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7946BF | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0D61BC
Tritanopia (blue-blind)
#69617C
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7946bf; /* rgb */ color: rgb(121, 70, 191); /* oklch */ color: oklch(51.6% 0.182 299.3);
Tailwind
colors: {
custom: {
50: '#a57cd3',
500: '#7946bf',
950: '#000000',
},
}SCSS
$custom: #7946bf; $custom-light: #a57cd3; $custom-dark: #000000;
JSON
{
"hex": "#7946bf",
"rgb": {
"r": 121,
"g": 70,
"b": 191
},
"hsl": {
"h": 265.289,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.51625,
"c": 0.18177,
"h": 299.3
},
"luminance": 0.12207
}Semantic roles & 50–950 ramp
primary
#7946BF
secondary
#B5CB96
accent
#D8509F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83