#7A60DC#7A60DC
#7A60DC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.8% C 0.182 H 289.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7A60DC |
|---|---|
| RGB | rgb(122, 96, 220) |
| HSL | hsl(253, 64%, 62%) |
| HSV | hsv(253, 56%, 86%) |
| CMYK | cmyk(44.5%, 56.4%, 0%, 13.7%) |
| CIE-LAB | lab(49.09, 40.31, -60.21) |
| CIE-LCH | lch(49.09, 72.46, 303.81°) |
| OKLab | oklab(57.79% 0.0594 -0.1716) |
| OKLCH | oklch(57.79% 0.182 289.1) |
| XYZ | xyz(25.1235, 17.6697, 69.7831) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.47
Purpley
#8756E4
ΔE00 3.59
Mediumslateblue
#7B68EE
ΔE00 3.66
Slate Blue
#6A5ACD
ΔE00 3.98
Dark Periwinkle
#665FD1
ΔE00 3.99
Iris
#6258C4
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A60DC #C2DC60
analogous
#6084DC #7A60DC #B860DC
triadic
#7A60DC #DC7A60 #60DC7A
tetradic
#7A60DC #DC6084 #C2DC60 #60DCB8
square
#7A60DC #DC6084 #C2DC60 #60DCB8
split-complementary
#7A60DC #DCB860 #84DC60
monochromatic
#3D239F #502ED1 #7A60DC #A492E7 #CEC4F2
Accessibility & contrast
On white
4.63
#7A60DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#7A60DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7A60DC
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A60DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A60DC | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1277E0
Deuteranopia (green-blind)
#1872D9
Tritanopia (blue-blind)
#5C7B95
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7a60dc; /* rgb */ color: rgb(122, 96, 220); /* oklch */ color: oklch(57.8% 0.182 289.1);
Tailwind
colors: {
custom: {
50: '#a78ee8',
500: '#7a60dc',
950: '#000000',
},
}SCSS
$custom: #7a60dc; $custom-light: #a78ee8; $custom-dark: #000000;
JSON
{
"hex": "#7a60dc",
"rgb": {
"r": 122,
"g": 96,
"b": 220
},
"hsl": {
"h": 252.581,
"s": 63.918,
"l": 61.961
},
"oklch": {
"l": 0.57789,
"c": 0.18162,
"h": 289.1
},
"luminance": 0.17671
}Semantic roles & 50–950 ramp
primary
#7A60DC
secondary
#D9E3B5
accent
#CC1AA6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84