#7B60E2#7B60E2
#7B60E2 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.189 H 288.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7B60E2 |
|---|---|
| RGB | rgb(123, 96, 226) |
| HSL | hsl(252, 69%, 63%) |
| HSV | hsv(252, 58%, 89%) |
| CMYK | cmyk(45.6%, 57.5%, 0%, 11.4%) |
| CIE-LAB | lab(49.58, 42.23, -62.82) |
| CIE-LCH | lch(49.58, 75.69, 303.91°) |
| OKLab | oklab(58.29% 0.0606 -0.1793) |
| OKLCH | oklch(58.29% 0.189 288.7) |
| XYZ | xyz(26.0748, 18.0667, 74.0501) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.05
Purpley
#8756E4
ΔE00 3.38
Light Indigo
#6D5ACF
ΔE00 4.11
Dark Periwinkle
#665FD1
ΔE00 4.51
Slate Blue
#6A5ACD
ΔE00 4.62
Iris
#6258C4
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B60E2 #C7E260
analogous
#6086E2 #7B60E2 #BC60E2
triadic
#7B60E2 #E27B60 #60E27B
tetradic
#7B60E2 #E26086 #C7E260 #60E2BC
square
#7B60E2 #E26086 #C7E260 #60E2BC
split-complementary
#7B60E2 #E2BC60 #86E260
monochromatic
#3B1FA9 #502CD9 #7B60E2 #A694EB #D1C8F5
Accessibility & contrast
On white
4.55
#7B60E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#7B60E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B60E2
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B60E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B60E2 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#0073DF
Tritanopia (blue-blind)
#5B7D98
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b60e2; /* rgb */ color: rgb(123, 96, 226); /* oklch */ color: oklch(58.3% 0.189 288.7);
Tailwind
colors: {
custom: {
50: '#a88eec',
500: '#7b60e2',
950: '#000000',
},
}SCSS
$custom: #7b60e2; $custom-light: #a88eec; $custom-dark: #000000;
JSON
{
"hex": "#7b60e2",
"rgb": {
"r": 123,
"g": 96,
"b": 226
},
"hsl": {
"h": 252.462,
"s": 69.149,
"l": 63.137
},
"oklch": {
"l": 0.58293,
"c": 0.18925,
"h": 288.7
},
"luminance": 0.18068
}Semantic roles & 50–950 ramp
primary
#7B60E2
secondary
#DDE6B8
accent
#D114AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84