#7960DB#7960DB
#7960DB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.180 H 288.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7960DB |
|---|---|
| RGB | rgb(121, 96, 219) |
| HSL | hsl(252, 63%, 62%) |
| HSV | hsv(252, 56%, 86%) |
| CMYK | cmyk(44.7%, 56.2%, 0%, 14.1%) |
| CIE-LAB | lab(48.94, 39.81, -59.89) |
| CIE-LCH | lch(48.94, 71.92, 303.61°) |
| OKLab | oklab(57.63% 0.0581 -0.1707) |
| OKLCH | oklch(57.63% 0.18 288.8) |
| XYZ | xyz(24.8506, 17.5442, 69.0811) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.27
Purpley
#8756E4
ΔE00 3.74
Mediumslateblue
#7B68EE
ΔE00 3.77
Dark Periwinkle
#665FD1
ΔE00 3.77
Slate Blue
#6A5ACD
ΔE00 3.78
Iris
#6258C4
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7960DB #C2DB60
analogous
#6085DB #7960DB #B760DB
triadic
#7960DB #DB7960 #60DB79
tetradic
#7960DB #DB6085 #C2DB60 #60DBB7
square
#7960DB #DB6085 #C2DB60 #60DBB7
split-complementary
#7960DB #DBB760 #85DB60
monochromatic
#3C249D #4F2FCF #7960DB #A392E6 #CDC4F2
Accessibility & contrast
On white
4.66
#7960DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#7960DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7960DB
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7960DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7960DB | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1477DF
Deuteranopia (green-blind)
#1871D8
Tritanopia (blue-blind)
#5B7B94
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7960db; /* rgb */ color: rgb(121, 96, 219); /* oklch */ color: oklch(57.6% 0.180 288.8);
Tailwind
colors: {
custom: {
50: '#a68ee7',
500: '#7960db',
950: '#000000',
},
}SCSS
$custom: #7960db; $custom-light: #a68ee7; $custom-dark: #000000;
JSON
{
"hex": "#7960db",
"rgb": {
"r": 121,
"g": 96,
"b": 219
},
"hsl": {
"h": 252.195,
"s": 63.077,
"l": 61.765
},
"oklch": {
"l": 0.57633,
"c": 0.18036,
"h": 288.8
},
"luminance": 0.17545
}Semantic roles & 50–950 ramp
primary
#7960DB
secondary
#D9E2B5
accent
#CB1BA7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84