#7966CD#7966CD
#7966CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.7% C 0.153 H 289.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7966CD |
|---|---|
| RGB | rgb(121, 102, 205) |
| HSL | hsl(251, 51%, 60%) |
| HSV | hsv(251, 50%, 80%) |
| CMYK | cmyk(41%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(49.47, 32.32, -51.07) |
| CIE-LCH | lch(49.47, 60.44, 302.33°) |
| OKLab | oklab(57.75% 0.0504 -0.1448) |
| OKLCH | oklch(57.75% 0.153 289.2) |
| XYZ | xyz(23.6529, 17.9747, 59.9690) |
| Luminance | 0.1797 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.22
Light Indigo
#6D5ACF
ΔE00 4.27
Slate Blue
#6A5ACD
ΔE00 4.55
Mediumslateblue
#7B68EE
ΔE00 4.94
Purpley
#8756E4
ΔE00 5.98
Iris
#6258C4
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7966CD #BACD66
analogous
#6686CD #7966CD #AC66CD
triadic
#7966CD #CD7966 #66CD79
tetradic
#7966CD #CD6686 #BACD66 #66CDAC
square
#7966CD #CD6686 #BACD66 #66CDAC
split-complementary
#7966CD #CDAC66 #86CD66
monochromatic
#3F2D8B #543DB9 #7966CD #A194DC #CAC2EB
Accessibility & contrast
On white
4.57
#7966CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7966CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7966CD
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7966CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7966CD | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B78D1
Deuteranopia (green-blind)
#3C73CB
Tritanopia (blue-blind)
#617B90
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7966cd; /* rgb */ color: rgb(121, 102, 205); /* oklch */ color: oklch(57.7% 0.153 289.2);
Tailwind
colors: {
custom: {
50: '#a492dd',
500: '#7966cd',
950: '#000000',
},
}SCSS
$custom: #7966cd; $custom-light: #a492dd; $custom-dark: #000000;
JSON
{
"hex": "#7966cd",
"rgb": {
"r": 121,
"g": 102,
"b": 205
},
"hsl": {
"h": 251.068,
"s": 50.739,
"l": 60.196
},
"oklch": {
"l": 0.57747,
"c": 0.1533,
"h": 289.2
},
"luminance": 0.17975
}Semantic roles & 50–950 ramp
primary
#7966CD
secondary
#D4DBB4
accent
#BE27A2
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83