#7A60EF#7A60EF
#7A60EF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.1% C 0.206 H 286.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7A60EF |
|---|---|
| RGB | rgb(122, 96, 239) |
| HSL | hsl(251, 82%, 66%) |
| HSV | hsv(251, 60%, 94%) |
| CMYK | cmyk(49%, 59.8%, 0%, 6.3%) |
| CIE-LAB | lab(50.37, 45.74, -68.84) |
| CIE-LCH | lch(50.37, 82.65, 303.60°) |
| OKLab | oklab(59.14% 0.059 -0.197) |
| OKLCH | oklch(59.14% 0.206 286.7) |
| XYZ | xyz(27.7843, 18.7340, 83.7967) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.29
Purpley
#8756E4
ΔE00 3.97
Light Indigo
#6D5ACF
ΔE00 5.44
Dark Periwinkle
#665FD1
ΔE00 5.51
Slate Blue
#6A5ACD
ΔE00 5.90
Mediumpurple
#9370DB
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A60EF #D5EF60
analogous
#608DEF #7A60EF #C160EF
triadic
#7A60EF #EF7A60 #60EF7A
tetradic
#7A60EF #EF608D #D5EF60 #60EFC1
square
#7A60EF #EF608D #D5EF60 #60EFC1
split-complementary
#7A60EF #EFC160 #8DEF60
monochromatic
#3313C1 #4B28E9 #7A60EF #A998F5 #D7CFFA
Accessibility & contrast
On white
4.42
#7A60EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7A60EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A60EF
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A60EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A60EF | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#50819E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7a60ef; /* rgb */ color: rgb(122, 96, 239); /* oklch */ color: oklch(59.1% 0.206 286.7);
Tailwind
colors: {
custom: {
50: '#a98ef5',
500: '#7a60ef',
950: '#000000',
},
}SCSS
$custom: #7a60ef; $custom-light: #a98ef5; $custom-dark: #000000;
JSON
{
"hex": "#7a60ef",
"rgb": {
"r": 122,
"g": 96,
"b": 239
},
"hsl": {
"h": 250.909,
"s": 81.714,
"l": 65.686
},
"oklch": {
"l": 0.59138,
"c": 0.20566,
"h": 286.7
},
"luminance": 0.18735
}Semantic roles & 50–950 ramp
primary
#7A60EF
secondary
#E5EDBE
accent
#DE07B7
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85