#7B60E4#7B60E4
#7B60E4 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.192 H 288.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7B60E4 |
|---|---|
| RGB | rgb(123, 96, 228) |
| HSL | hsl(252, 71%, 64%) |
| HSV | hsv(252, 58%, 89%) |
| CMYK | cmyk(46.1%, 57.9%, 0%, 10.6%) |
| CIE-LAB | lab(49.71, 42.79, -63.73) |
| CIE-LCH | lch(49.71, 76.77, 303.88°) |
| OKLab | oklab(58.43% 0.0606 -0.182) |
| OKLCH | oklch(58.43% 0.192 288.4) |
| XYZ | xyz(26.3508, 18.1771, 75.5038) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.87
Purpley
#8756E4
ΔE00 3.40
Light Indigo
#6D5ACF
ΔE00 4.31
Dark Periwinkle
#665FD1
ΔE00 4.65
Slate Blue
#6A5ACD
ΔE00 4.81
Mediumpurple
#9370DB
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B60E4 #C9E460
analogous
#6087E4 #7B60E4 #BD60E4
triadic
#7B60E4 #E47B60 #60E47B
tetradic
#7B60E4 #E46087 #C9E460 #60E4BD
square
#7B60E4 #E46087 #C9E460 #60E4BD
split-complementary
#7B60E4 #E4BD60 #87E460
monochromatic
#3B1DAC #502CDB #7B60E4 #A694ED #D2C9F6
Accessibility & contrast
On white
4.53
#7B60E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#7B60E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B60E4
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B60E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B60E4 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#597E99
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b60e4; /* rgb */ color: rgb(123, 96, 228); /* oklch */ color: oklch(58.4% 0.192 288.4);
Tailwind
colors: {
custom: {
50: '#a88eed',
500: '#7b60e4',
950: '#000000',
},
}SCSS
$custom: #7b60e4; $custom-light: #a88eed; $custom-dark: #000000;
JSON
{
"hex": "#7b60e4",
"rgb": {
"r": 123,
"g": 96,
"b": 228
},
"hsl": {
"h": 252.273,
"s": 70.968,
"l": 63.529
},
"oklch": {
"l": 0.58433,
"c": 0.1918,
"h": 288.4
},
"luminance": 0.18178
}Semantic roles & 50–950 ramp
primary
#7B60E4
secondary
#DEE7B9
accent
#D313AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84