#7B5CC2#7B5CC2
#7B5CC2 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.5% C 0.154 H 294.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5CC2 |
|---|---|
| RGB | rgb(123, 92, 194) |
| HSL | hsl(258, 46%, 56%) |
| HSV | hsv(258, 53%, 76%) |
| CMYK | cmyk(36.6%, 52.6%, 0%, 23.9%) |
| CIE-LAB | lab(46.66, 35.66, -49.22) |
| CIE-LCH | lch(46.66, 60.78, 305.92°) |
| OKLab | oklab(55.49% 0.0647 -0.1393) |
| OKLCH | oklch(55.49% 0.154 294.9) |
| XYZ | xyz(21.7306, 15.7599, 52.9255) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.77
Slate Blue
#6A5ACD
ΔE00 4.09
Deep Lavender
#8D5EB7
ΔE00 5.05
Iris
#6258C4
ΔE00 5.15
Dark Periwinkle
#665FD1
ΔE00 5.29
Royal Purple
#7851A9
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5CC2 #A3C25C
analogous
#5C70C2 #7B5CC2 #AE5CC2
triadic
#7B5CC2 #C27B5C #5CC27B
tetradic
#7B5CC2 #C25C70 #A3C25C #5CC2AE
square
#7B5CC2 #C25C70 #A3C25C #5CC2AE
split-complementary
#7B5CC2 #C2AE5C #70C25C
monochromatic
#432D77 #5C3DA4 #7B5CC2 #9F89D3 #C3B5E3
Accessibility & contrast
On white
5.06
#7B5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#7B5CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B5CC2
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B5CC2 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326FC6
Deuteranopia (green-blind)
#3A6DC0
Tritanopia (blue-blind)
#6A7186
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7b5cc2; /* rgb */ color: rgb(123, 92, 194); /* oklch */ color: oklch(55.5% 0.154 294.9);
Tailwind
colors: {
custom: {
50: '#a58bd5',
500: '#7b5cc2',
950: '#000000',
},
}SCSS
$custom: #7b5cc2; $custom-light: #a58bd5; $custom-dark: #000000;
JSON
{
"hex": "#7b5cc2",
"rgb": {
"r": 123,
"g": 92,
"b": 194
},
"hsl": {
"h": 258.235,
"s": 45.536,
"l": 56.078
},
"oklch": {
"l": 0.55488,
"c": 0.15365,
"h": 294.9
},
"luminance": 0.1576
}Semantic roles & 50–950 ramp
primary
#7B5CC2
secondary
#C5D2A8
accent
#D553AE
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83