#7C60DB#7C60DB
#7C60DB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.9% C 0.180 H 290.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7C60DB |
|---|---|
| RGB | rgb(124, 96, 219) |
| HSL | hsl(254, 63%, 62%) |
| HSV | hsv(254, 56%, 86%) |
| CMYK | cmyk(43.4%, 56.2%, 0%, 14.1%) |
| CIE-LAB | lab(49.21, 40.47, -59.44) |
| CIE-LCH | lch(49.21, 71.91, 304.25°) |
| OKLab | oklab(57.9% 0.0619 -0.1693) |
| OKLCH | oklch(57.9% 0.18 290.1) |
| XYZ | xyz(25.2777, 17.7644, 69.1011) |
| Luminance | 0.1777 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.39
Light Indigo
#6D5ACF
ΔE00 3.65
Mediumslateblue
#7B68EE
ΔE00 3.80
Slate Blue
#6A5ACD
ΔE00 4.19
Dark Periwinkle
#665FD1
ΔE00 4.31
Iris
#6258C4
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C60DB #BFDB60
analogous
#6081DB #7C60DB #BA60DB
triadic
#7C60DB #DB7C60 #60DB7C
tetradic
#7C60DB #DB6081 #BFDB60 #60DBBA
square
#7C60DB #DB6081 #BFDB60 #60DBBA
split-complementary
#7C60DB #DBBA60 #81DB60
monochromatic
#3F249D #532FCF #7C60DB #A592E6 #CEC4F2
Accessibility & contrast
On white
4.61
#7C60DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7C60DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7C60DB
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C60DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C60DB | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1777DF
Deuteranopia (green-blind)
#1E72D8
Tritanopia (blue-blind)
#607B94
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7c60db; /* rgb */ color: rgb(124, 96, 219); /* oklch */ color: oklch(57.9% 0.180 290.1);
Tailwind
colors: {
custom: {
50: '#a88ee7',
500: '#7c60db',
950: '#000000',
},
}SCSS
$custom: #7c60db; $custom-light: #a88ee7; $custom-dark: #000000;
JSON
{
"hex": "#7c60db",
"rgb": {
"r": 124,
"g": 96,
"b": 219
},
"hsl": {
"h": 253.659,
"s": 63.077,
"l": 61.765
},
"oklch": {
"l": 0.57897,
"c": 0.1803,
"h": 290.1
},
"luminance": 0.17765
}Semantic roles & 50–950 ramp
primary
#7C60DB
secondary
#D8E2B5
accent
#CB1BA3
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84