#7B60CC#7B60CC
#7B60CC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.8% C 0.161 H 292.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7B60CC |
|---|---|
| RGB | rgb(123, 96, 204) |
| HSL | hsl(255, 51%, 59%) |
| HSV | hsv(255, 53%, 80%) |
| CMYK | cmyk(39.7%, 52.9%, 0%, 20%) |
| CIE-LAB | lab(48.18, 36.06, -52.55) |
| CIE-LCH | lch(48.18, 63.73, 304.46°) |
| OKLab | oklab(56.81% 0.0602 -0.1491) |
| OKLCH | oklch(56.81% 0.161 292) |
| XYZ | xyz(23.2474, 16.9357, 59.1591) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.27
Slate Blue
#6A5ACD
ΔE00 3.70
Dark Periwinkle
#665FD1
ΔE00 4.27
Purpley
#8756E4
ΔE00 4.66
Iris
#6258C4
ΔE00 5.29
Mediumslateblue
#7B68EE
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B60CC #B1CC60
analogous
#607BCC #7B60CC #B160CC
triadic
#7B60CC #CC7B60 #60CC7B
tetradic
#7B60CC #CC607B #B1CC60 #60CCB1
square
#7B60CC #CC607B #B1CC60 #60CCB1
split-complementary
#7B60CC #CCB160 #7BCC60
monochromatic
#422B86 #593AB5 #7B60CC #A18EDB #C8BDEA
Accessibility & contrast
On white
4.79
#7B60CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#7B60CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B60CC
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B60CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B60CC | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3074D0
Deuteranopia (green-blind)
#3570CA
Tritanopia (blue-blind)
#66768D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7b60cc; /* rgb */ color: rgb(123, 96, 204); /* oklch */ color: oklch(56.8% 0.161 292.0);
Tailwind
colors: {
custom: {
50: '#a68edc',
500: '#7b60cc',
950: '#000000',
},
}SCSS
$custom: #7b60cc; $custom-light: #a68edc; $custom-dark: #000000;
JSON
{
"hex": "#7b60cc",
"rgb": {
"r": 123,
"g": 96,
"b": 204
},
"hsl": {
"h": 255,
"s": 51.429,
"l": 58.824
},
"oklch": {
"l": 0.56812,
"c": 0.1608,
"h": 292
},
"luminance": 0.16936
}Semantic roles & 50–950 ramp
primary
#7B60CC
secondary
#CFD9AF
accent
#DB4DB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83