#7960DF#7960DF
#7960DF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.9% C 0.185 H 288.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7960DF |
|---|---|
| RGB | rgb(121, 96, 223) |
| HSL | hsl(252, 66%, 63%) |
| HSV | hsv(252, 57%, 87%) |
| CMYK | cmyk(45.7%, 57%, 0%, 12.5%) |
| CIE-LAB | lab(49.20, 40.95, -61.74) |
| CIE-LCH | lch(49.20, 74.08, 303.56°) |
| OKLab | oklab(57.91% 0.0581 -0.1762) |
| OKLCH | oklch(57.91% 0.186 288.3) |
| XYZ | xyz(25.3835, 17.7574, 71.8878) |
| Luminance | 0.1776 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.34
Light Indigo
#6D5ACF
ΔE00 3.61
Purpley
#8756E4
ΔE00 3.65
Dark Periwinkle
#665FD1
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 4.11
Iris
#6258C4
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7960DF #C6DF60
analogous
#6087DF #7960DF #B860DF
triadic
#7960DF #DF7960 #60DF79
tetradic
#7960DF #DF6087 #C6DF60 #60DFB8
square
#7960DF #DF6087 #C6DF60 #60DFB8
split-complementary
#7960DF #DFB860 #87DF60
monochromatic
#3B21A4 #4E2DD5 #7960DF #A493E9 #CFC6F4
Accessibility & contrast
On white
4.61
#7960DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7960DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7960DF
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7960DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7960DF | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0478E3
Deuteranopia (green-blind)
#0972DC
Tritanopia (blue-blind)
#597C96
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7960df; /* rgb */ color: rgb(121, 96, 223); /* oklch */ color: oklch(57.9% 0.185 288.3);
Tailwind
colors: {
custom: {
50: '#a68eea',
500: '#7960df',
950: '#000000',
},
}SCSS
$custom: #7960df; $custom-light: #a68eea; $custom-dark: #000000;
JSON
{
"hex": "#7960df",
"rgb": {
"r": 121,
"g": 96,
"b": 223
},
"hsl": {
"h": 251.811,
"s": 66.492,
"l": 62.549
},
"oklch": {
"l": 0.57909,
"c": 0.1855,
"h": 288.3
},
"luminance": 0.17758
}Semantic roles & 50–950 ramp
primary
#7960DF
secondary
#DBE4B6
accent
#CE17AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84