#7960DC#7960DC
#7960DC is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.7% C 0.182 H 288.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7960DC |
|---|---|
| RGB | rgb(121, 96, 220) |
| HSL | hsl(252, 64%, 62%) |
| HSV | hsv(252, 56%, 86%) |
| CMYK | cmyk(45%, 56.4%, 0%, 13.7%) |
| CIE-LAB | lab(49.00, 40.10, -60.35) |
| CIE-LCH | lch(49.00, 72.46, 303.60°) |
| OKLab | oklab(57.7% 0.0581 -0.1721) |
| OKLCH | oklch(57.7% 0.182 288.7) |
| XYZ | xyz(24.9826, 17.5970, 69.7765) |
| Luminance | 0.1760 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.35
Mediumslateblue
#7B68EE
ΔE00 3.66
Purpley
#8756E4
ΔE00 3.71
Dark Periwinkle
#665FD1
ΔE00 3.82
Slate Blue
#6A5ACD
ΔE00 3.85
Iris
#6258C4
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7960DC #C3DC60
analogous
#6085DC #7960DC #B760DC
triadic
#7960DC #DC7960 #60DC79
tetradic
#7960DC #DC6085 #C3DC60 #60DCB7
square
#7960DC #DC6085 #C3DC60 #60DCB7
split-complementary
#7960DC #DCB760 #85DC60
monochromatic
#3C239F #4F2ED1 #7960DC #A392E7 #CEC4F2
Accessibility & contrast
On white
4.65
#7960DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#7960DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7960DC
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7960DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7960DC | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1177E0
Deuteranopia (green-blind)
#1571D9
Tritanopia (blue-blind)
#5A7B95
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7960dc; /* rgb */ color: rgb(121, 96, 220); /* oklch */ color: oklch(57.7% 0.182 288.7);
Tailwind
colors: {
custom: {
50: '#a68ee8',
500: '#7960dc',
950: '#000000',
},
}SCSS
$custom: #7960dc; $custom-light: #a68ee8; $custom-dark: #000000;
JSON
{
"hex": "#7960dc",
"rgb": {
"r": 121,
"g": 96,
"b": 220
},
"hsl": {
"h": 252.097,
"s": 63.918,
"l": 61.961
},
"oklch": {
"l": 0.57701,
"c": 0.18165,
"h": 288.7
},
"luminance": 0.17598
}Semantic roles & 50–950 ramp
primary
#7960DC
secondary
#DAE3B5
accent
#CC1AA8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84