#7960F6#7960F6
#7960F6 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.6% C 0.214 H 285.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7960F6 |
|---|---|
| RGB | rgb(121, 96, 246) |
| HSL | hsl(250, 89%, 67%) |
| HSV | hsv(250, 61%, 96%) |
| CMYK | cmyk(50.8%, 61%, 0%, 3.5%) |
| CIE-LAB | lab(50.78, 47.57, -72.09) |
| CIE-LCH | lch(50.78, 86.37, 303.42°) |
| OKLab | oklab(59.57% 0.0573 -0.2066) |
| OKLCH | oklch(59.57% 0.214 285.5) |
| XYZ | xyz(28.6976, 19.0830, 89.3422) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.37
Purpley
#8756E4
ΔE00 4.56
Dark Periwinkle
#665FD1
ΔE00 6.14
Light Indigo
#6D5ACF
ΔE00 6.22
Slate Blue
#6A5ACD
ΔE00 6.65
Lighter Purple
#A55AF4
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7960F6 #DDF660
analogous
#6092F6 #7960F6 #C460F6
triadic
#7960F6 #F67960 #60F679
tetradic
#7960F6 #F66092 #DDF660 #60F6C4
square
#7960F6 #F66092 #DDF660 #60F6C4
split-complementary
#7960F6 #F6C460 #92F660
monochromatic
#2C0CD0 #4826F3 #7960F6 #AA9AF9 #DBD4FD
Accessibility & contrast
On white
4.36
#7960F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7960F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7960F6
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7960F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7960F6 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0074F3
Tritanopia (blue-blind)
#4984A2
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7960f6; /* rgb */ color: rgb(121, 96, 246); /* oklch */ color: oklch(59.6% 0.214 285.5);
Tailwind
colors: {
custom: {
50: '#a98efa',
500: '#7960f6',
950: '#000000',
},
}SCSS
$custom: #7960f6; $custom-light: #a98efa; $custom-dark: #000000;
JSON
{
"hex": "#7960f6",
"rgb": {
"r": 121,
"g": 96,
"b": 246
},
"hsl": {
"h": 250,
"s": 89.286,
"l": 67.059
},
"oklch": {
"l": 0.59572,
"c": 0.21442,
"h": 285.5
},
"luminance": 0.19085
}Semantic roles & 50–950 ramp
primary
#7960F6
secondary
#E9F1C1
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85