#7B60CD#7B60CD
#7B60CD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.9% C 0.162 H 291.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7B60CD |
|---|---|
| RGB | rgb(123, 96, 205) |
| HSL | hsl(255, 52%, 59%) |
| HSV | hsv(255, 53%, 80%) |
| CMYK | cmyk(40%, 53.2%, 0%, 19.6%) |
| CIE-LAB | lab(48.24, 36.33, -53.02) |
| CIE-LCH | lch(48.24, 64.28, 304.42°) |
| OKLab | oklab(56.88% 0.0603 -0.1505) |
| OKLCH | oklch(56.88% 0.162 291.8) |
| XYZ | xyz(23.3677, 16.9838, 59.7928) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.22
Slate Blue
#6A5ACD
ΔE00 3.67
Dark Periwinkle
#665FD1
ΔE00 4.21
Purpley
#8756E4
ΔE00 4.55
Iris
#6258C4
ΔE00 5.30
Mediumslateblue
#7B68EE
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B60CD #B2CD60
analogous
#607CCD #7B60CD #B160CD
triadic
#7B60CD #CD7B60 #60CD7B
tetradic
#7B60CD #CD607C #B2CD60 #60CDB1
square
#7B60CD #CD607C #B2CD60 #60CDB1
split-complementary
#7B60CD #CDB160 #7CCD60
monochromatic
#422B88 #5839B6 #7B60CD #A28FDC #C8BDEA
Accessibility & contrast
On white
4.78
#7B60CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#7B60CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B60CD
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B60CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B60CD | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#3470CB
Tritanopia (blue-blind)
#65778D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7b60cd; /* rgb */ color: rgb(123, 96, 205); /* oklch */ color: oklch(56.9% 0.162 291.8);
Tailwind
colors: {
custom: {
50: '#a68edd',
500: '#7b60cd',
950: '#000000',
},
}SCSS
$custom: #7b60cd; $custom-light: #a68edd; $custom-dark: #000000;
JSON
{
"hex": "#7b60cd",
"rgb": {
"r": 123,
"g": 96,
"b": 205
},
"hsl": {
"h": 254.862,
"s": 52.153,
"l": 59.02
},
"oklch": {
"l": 0.56877,
"c": 0.16212,
"h": 291.8
},
"luminance": 0.16984
}Semantic roles & 50–950 ramp
primary
#7B60CD
secondary
#CFDAAF
accent
#DC4CB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83