#7B60E5#7B60E5
#7B60E5 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.193 H 288.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7B60E5 |
|---|---|
| RGB | rgb(123, 96, 229) |
| HSL | hsl(252, 72%, 64%) |
| HSV | hsv(252, 58%, 90%) |
| CMYK | cmyk(46.3%, 58.1%, 0%, 10.2%) |
| CIE-LAB | lab(49.78, 43.08, -64.19) |
| CIE-LCH | lch(49.78, 77.30, 303.87°) |
| OKLab | oklab(58.5% 0.0606 -0.1833) |
| OKLCH | oklch(58.5% 0.193 288.3) |
| XYZ | xyz(26.4900, 18.2328, 76.2371) |
| Luminance | 0.1823 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.79
Purpley
#8756E4
ΔE00 3.42
Light Indigo
#6D5ACF
ΔE00 4.41
Dark Periwinkle
#665FD1
ΔE00 4.73
Slate Blue
#6A5ACD
ΔE00 4.91
Mediumpurple
#9370DB
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B60E5 #CAE560
analogous
#6087E5 #7B60E5 #BD60E5
triadic
#7B60E5 #E57B60 #60E57B
tetradic
#7B60E5 #E56087 #CAE560 #60E5BD
square
#7B60E5 #E56087 #CAE560 #60E5BD
split-complementary
#7B60E5 #E5BD60 #87E560
monochromatic
#3A1CAE #4F2BDC #7B60E5 #A795EE #D2C9F6
Accessibility & contrast
On white
4.52
#7B60E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7B60E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B60E5
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B60E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B60E5 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#597E99
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b60e5; /* rgb */ color: rgb(123, 96, 229); /* oklch */ color: oklch(58.5% 0.193 288.3);
Tailwind
colors: {
custom: {
50: '#a88eee',
500: '#7b60e5',
950: '#000000',
},
}SCSS
$custom: #7b60e5; $custom-light: #a88eee; $custom-dark: #000000;
JSON
{
"hex": "#7b60e5",
"rgb": {
"r": 123,
"g": 96,
"b": 229
},
"hsl": {
"h": 252.18,
"s": 71.892,
"l": 63.725
},
"oklch": {
"l": 0.58504,
"c": 0.19306,
"h": 288.3
},
"luminance": 0.18234
}Semantic roles & 50–950 ramp
primary
#7B60E5
secondary
#DEE8B9
accent
#D412AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84