#7B5CCF#7B5CCF
#7B5CCF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.171 H 292.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5CCF |
|---|---|
| RGB | rgb(123, 92, 207) |
| HSL | hsl(256, 55%, 59%) |
| HSV | hsv(256, 56%, 81%) |
| CMYK | cmyk(40.6%, 55.6%, 0%, 18.8%) |
| CIE-LAB | lab(47.46, 39.21, -55.43) |
| CIE-LCH | lch(47.46, 67.89, 305.28°) |
| OKLab | oklab(56.34% 0.0652 -0.1576) |
| OKLCH | oklch(56.34% 0.171 292.5) |
| XYZ | xyz(23.2550, 16.3696, 60.9538) |
| Luminance | 0.1637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.74
Slate Blue
#6A5ACD
ΔE00 3.29
Purpley
#8756E4
ΔE00 3.79
Dark Periwinkle
#665FD1
ΔE00 4.31
Iris
#6258C4
ΔE00 5.01
Mediumslateblue
#7B68EE
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5CCF #B0CF5C
analogous
#5C76CF #7B5CCF #B45CCF
triadic
#7B5CCF #CF7B5C #5CCF7B
tetradic
#7B5CCF #CF5C76 #B0CF5C #5CCFB4
square
#7B5CCF #CF5C76 #B0CF5C #5CCFB4
split-complementary
#7B5CCF #CFB45C #76CF5C
monochromatic
#422888 #5936B8 #7B5CCF #A18BDD #C8BBEB
Accessibility & contrast
On white
4.91
#7B5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#7B5CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B5CCF
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B5CCF | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2172D3
Deuteranopia (green-blind)
#296ECC
Tritanopia (blue-blind)
#65748D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7b5ccf; /* rgb */ color: rgb(123, 92, 207); /* oklch */ color: oklch(56.3% 0.171 292.5);
Tailwind
colors: {
custom: {
50: '#a68bde',
500: '#7b5ccf',
950: '#000000',
},
}SCSS
$custom: #7b5ccf; $custom-light: #a68bde; $custom-dark: #000000;
JSON
{
"hex": "#7b5ccf",
"rgb": {
"r": 123,
"g": 92,
"b": 207
},
"hsl": {
"h": 256.174,
"s": 54.502,
"l": 58.627
},
"oklch": {
"l": 0.56336,
"c": 0.17053,
"h": 292.5
},
"luminance": 0.1637
}Semantic roles & 50–950 ramp
primary
#7B5CCF
secondary
#CEDAAD
accent
#DE4AB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83