#7B5CD2#7B5CD2
#7B5CD2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.174 H 292.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5CD2 |
|---|---|
| RGB | rgb(123, 92, 210) |
| HSL | hsl(256, 57%, 59%) |
| HSV | hsv(256, 56%, 82%) |
| CMYK | cmyk(41.4%, 56.2%, 0%, 17.6%) |
| CIE-LAB | lab(47.65, 40.04, -56.84) |
| CIE-LCH | lch(47.65, 69.52, 305.16°) |
| OKLab | oklab(56.54% 0.0653 -0.1617) |
| OKLCH | oklch(56.54% 0.174 292) |
| XYZ | xyz(23.6252, 16.5177, 62.9037) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.72
Slate Blue
#6A5ACD
ΔE00 3.30
Purpley
#8756E4
ΔE00 3.47
Dark Periwinkle
#665FD1
ΔE00 4.22
Iris
#6258C4
ΔE00 5.12
Mediumslateblue
#7B68EE
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5CD2 #B3D25C
analogous
#5C78D2 #7B5CD2 #B65CD2
triadic
#7B5CD2 #D27B5C #5CD27B
tetradic
#7B5CD2 #D25C78 #B3D25C #5CD2B6
square
#7B5CD2 #D25C78 #B3D25C #5CD2B6
split-complementary
#7B5CD2 #D2B65C #78D25C
monochromatic
#42278D #5834BD #7B5CD2 #A28CDF #C9BCEC
Accessibility & contrast
On white
4.88
#7B5CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#7B5CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B5CD2
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B5CD2 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B73D6
Deuteranopia (green-blind)
#246FCF
Tritanopia (blue-blind)
#63758E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7b5cd2; /* rgb */ color: rgb(123, 92, 210); /* oklch */ color: oklch(56.5% 0.174 292.0);
Tailwind
colors: {
custom: {
50: '#a68be0',
500: '#7b5cd2',
950: '#000000',
},
}SCSS
$custom: #7b5cd2; $custom-light: #a68be0; $custom-dark: #000000;
JSON
{
"hex": "#7b5cd2",
"rgb": {
"r": 123,
"g": 92,
"b": 210
},
"hsl": {
"h": 255.763,
"s": 56.731,
"l": 59.216
},
"oklch": {
"l": 0.56538,
"c": 0.17438,
"h": 292
},
"luminance": 0.16518
}Semantic roles & 50–950 ramp
primary
#7B5CD2
secondary
#D0DCAE
accent
#E048B8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83