#7B60DC#7B60DC
#7B60DC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.182 H 289.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7B60DC |
|---|---|
| RGB | rgb(123, 96, 220) |
| HSL | hsl(253, 64%, 62%) |
| HSV | hsv(253, 56%, 86%) |
| CMYK | cmyk(44.1%, 56.4%, 0%, 13.7%) |
| CIE-LAB | lab(49.18, 40.53, -60.06) |
| CIE-LCH | lch(49.18, 72.45, 304.01°) |
| OKLab | oklab(57.88% 0.0607 -0.1712) |
| OKLCH | oklch(57.88% 0.182 289.5) |
| XYZ | xyz(25.2659, 17.7431, 69.7898) |
| Luminance | 0.1774 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.47
Light Indigo
#6D5ACF
ΔE00 3.59
Mediumslateblue
#7B68EE
ΔE00 3.67
Slate Blue
#6A5ACD
ΔE00 4.12
Dark Periwinkle
#665FD1
ΔE00 4.17
Iris
#6258C4
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B60DC #C1DC60
analogous
#6083DC #7B60DC #B960DC
triadic
#7B60DC #DC7B60 #60DC7B
tetradic
#7B60DC #DC6083 #C1DC60 #60DCB9
square
#7B60DC #DC6083 #C1DC60 #60DCB9
split-complementary
#7B60DC #DCB960 #83DC60
monochromatic
#3E239F #512ED1 #7B60DC #A592E7 #CEC4F2
Accessibility & contrast
On white
4.62
#7B60DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7B60DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7B60DC
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B60DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B60DC | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1377E0
Deuteranopia (green-blind)
#1A72D9
Tritanopia (blue-blind)
#5E7B95
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7b60dc; /* rgb */ color: rgb(123, 96, 220); /* oklch */ color: oklch(57.9% 0.182 289.5);
Tailwind
colors: {
custom: {
50: '#a78ee8',
500: '#7b60dc',
950: '#000000',
},
}SCSS
$custom: #7b60dc; $custom-light: #a78ee8; $custom-dark: #000000;
JSON
{
"hex": "#7b60dc",
"rgb": {
"r": 123,
"g": 96,
"b": 220
},
"hsl": {
"h": 253.065,
"s": 63.918,
"l": 61.961
},
"oklch": {
"l": 0.57877,
"c": 0.18159,
"h": 289.5
},
"luminance": 0.17744
}Semantic roles & 50–950 ramp
primary
#7B60DC
secondary
#D9E3B5
accent
#CC1AA5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84