#7A60EB#7A60EB
#7A60EB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 58.8% C 0.201 H 287.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7A60EB |
|---|---|
| RGB | rgb(122, 96, 235) |
| HSL | hsl(251, 78%, 65%) |
| HSV | hsv(251, 59%, 92%) |
| CMYK | cmyk(48.1%, 59.1%, 0%, 7.8%) |
| CIE-LAB | lab(50.10, 44.59, -67.05) |
| CIE-LCH | lch(50.10, 80.52, 303.63°) |
| OKLab | oklab(58.85% 0.0591 -0.1918) |
| OKLCH | oklch(58.85% 0.201 287.1) |
| XYZ | xyz(27.1999, 18.5003, 80.7189) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.41
Purpley
#8756E4
ΔE00 3.75
Light Indigo
#6D5ACF
ΔE00 4.98
Dark Periwinkle
#665FD1
ΔE00 5.11
Slate Blue
#6A5ACD
ΔE00 5.45
Mediumpurple
#9370DB
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A60EB #D1EB60
analogous
#608CEB #7A60EB #C060EB
triadic
#7A60EB #EB7A60 #60EB7A
tetradic
#7A60EB #EB608C #D1EB60 #60EBC0
square
#7A60EB #EB608C #D1EB60 #60EBC0
split-complementary
#7A60EB #EBC060 #8CEB60
monochromatic
#3617B9 #4D2AE4 #7A60EB #A796F2 #D5CDF9
Accessibility & contrast
On white
4.47
#7A60EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#7A60EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A60EB
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A60EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A60EB | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#53809C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7a60eb; /* rgb */ color: rgb(122, 96, 235); /* oklch */ color: oklch(58.8% 0.201 287.1);
Tailwind
colors: {
custom: {
50: '#a88ef2',
500: '#7a60eb',
950: '#000000',
},
}SCSS
$custom: #7a60eb; $custom-light: #a88ef2; $custom-dark: #000000;
JSON
{
"hex": "#7a60eb",
"rgb": {
"r": 122,
"g": 96,
"b": 235
},
"hsl": {
"h": 251.223,
"s": 77.654,
"l": 64.902
},
"oklch": {
"l": 0.58847,
"c": 0.20067,
"h": 287.1
},
"luminance": 0.18501
}Semantic roles & 50–950 ramp
primary
#7A60EB
secondary
#E2EBBC
accent
#DA0CB3
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C17
muted
#7F7D85