#7966BF#7966BF
#7966BF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 56.9% C 0.134 H 291.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7966BF |
|---|---|
| RGB | rgb(121, 102, 191) |
| HSL | hsl(253, 41%, 57%) |
| HSV | hsv(253, 47%, 75%) |
| CMYK | cmyk(36.6%, 46.6%, 0%, 25.1%) |
| CIE-LAB | lab(48.67, 28.41, -44.29) |
| CIE-LCH | lch(48.67, 52.62, 302.68°) |
| OKLab | oklab(56.89% 0.0489 -0.1249) |
| OKLCH | oklch(56.89% 0.134 291.4) |
| XYZ | xyz(22.0380, 17.3287, 51.4638) |
| Luminance | 0.1733 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 5.30
Slate Blue
#6A5ACD
ΔE00 5.44
Dark Periwinkle
#665FD1
ΔE00 5.48
Deep Lavender
#8D5EB7
ΔE00 5.95
Iris
#6258C4
ΔE00 6.30
Mediumpurple
#9370DB
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7966BF #ACBF66
analogous
#667FBF #7966BF #A666BF
triadic
#7966BF #BF7966 #66BF79
tetradic
#7966BF #BF667F #ACBF66 #66BFA6
square
#7966BF #BF667F #ACBF66 #66BFA6
split-complementary
#7966BF #BFA666 #7FBF66
monochromatic
#413278 #5944A3 #7966BF #9F91D1 #C5BCE3
Accessibility & contrast
On white
4.70
#7966BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7966BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7966BF
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7966BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7966BF | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4775C2
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#677789
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7966bf; /* rgb */ color: rgb(121, 102, 191); /* oklch */ color: oklch(56.9% 0.134 291.4);
Tailwind
colors: {
custom: {
50: '#a392d3',
500: '#7966bf',
950: '#000000',
},
}SCSS
$custom: #7966bf; $custom-light: #a392d3; $custom-dark: #000000;
JSON
{
"hex": "#7966bf",
"rgb": {
"r": 121,
"g": 102,
"b": 191
},
"hsl": {
"h": 252.809,
"s": 41.014,
"l": 57.451
},
"oklch": {
"l": 0.56894,
"c": 0.13415,
"h": 291.4
},
"luminance": 0.17329
}Semantic roles & 50–950 ramp
primary
#7966BF
secondary
#CBD2AE
accent
#D157B7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0D14
muted
#7F7D83