#7B4CAF#7B4CAF
#7B4CAF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.154 H 303.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4CAF |
|---|---|
| RGB | rgb(123, 76, 175) |
| HSL | hsl(268, 39%, 49%) |
| HSV | hsv(268, 57%, 69%) |
| CMYK | cmyk(29.7%, 56.6%, 0%, 31.4%) |
| CIE-LAB | lab(41.96, 39.88, -45.64) |
| CIE-LCH | lch(41.96, 60.60, 311.15°) |
| OKLab | oklab(51.65% 0.0847 -0.1288) |
| OKLCH | oklch(51.65% 0.154 303.3) |
| XYZ | xyz(18.4889, 12.4750, 41.9830) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.91
Purply
#983FB2
ΔE00 6.22
Deep Lavender
#8D5EB7
ΔE00 6.41
Bluey Purple
#6241C7
ΔE00 7.14
Darkorchid
#9932CC
ΔE00 7.43
Light Indigo
#6D5ACF
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4CAF #80AF4C
analogous
#4C4FAF #7B4CAF #AD4CAF
triadic
#7B4CAF #AF7B4C #4CAF7B
tetradic
#7B4CAF #AF4C4F #80AF4C #4CAFAD
square
#7B4CAF #AF4C4F #80AF4C #4CAFAD
split-complementary
#7B4CAF #AFAD4C #4FAF4C
monochromatic
#3F275A #5D3984 #7B4CAF #9A75C3 #B9A0D6
Accessibility & contrast
On white
6.01
#7B4CAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#7B4CAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4CAF
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4CAF | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#715F76
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7b4caf; /* rgb */ color: rgb(123, 76, 175); /* oklch */ color: oklch(51.6% 0.154 303.3);
Tailwind
colors: {
custom: {
50: '#a480c7',
500: '#7b4caf',
950: '#000000',
},
}SCSS
$custom: #7b4caf; $custom-light: #a480c7; $custom-dark: #000000;
JSON
{
"hex": "#7b4caf",
"rgb": {
"r": 123,
"g": 76,
"b": 175
},
"hsl": {
"h": 268.485,
"s": 39.442,
"l": 49.216
},
"oklch": {
"l": 0.51649,
"c": 0.15418,
"h": 303.3
},
"luminance": 0.12475
}Semantic roles & 50–950 ramp
primary
#7B4CAF
secondary
#ADC294
accent
#CF5897
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82