#7C4BBD#7C4BBD
#7C4BBD is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.173 H 300.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4BBD |
|---|---|
| RGB | rgb(124, 75, 189) |
| HSL | hsl(266, 46%, 52%) |
| HSV | hsv(266, 60%, 74%) |
| CMYK | cmyk(34.4%, 60.3%, 0%, 25.9%) |
| CIE-LAB | lab(42.75, 44.22, -52.58) |
| CIE-LCH | lch(42.75, 68.70, 310.06°) |
| OKLab | oklab(52.54% 0.0873 -0.1492) |
| OKLCH | oklch(52.54% 0.173 300.3) |
| XYZ | xyz(20.0114, 12.9912, 49.5875) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.90
Bluey Purple
#6241C7
ΔE00 5.73
Light Indigo
#6D5ACF
ΔE00 6.24
Darkorchid
#9932CC
ΔE00 6.40
Slate Blue
#6A5ACD
ΔE00 6.48
Purply
#983FB2
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4BBD #8CBD4B
analogous
#4B53BD #7C4BBD #B54BBD
triadic
#7C4BBD #BD7C4B #4BBD7C
tetradic
#7C4BBD #BD4B53 #8CBD4B #4BBDB5
square
#7C4BBD #BD4B53 #8CBD4B #4BBDB5
split-complementary
#7C4BBD #BDB54B #53BD4B
monochromatic
#422668 #5F3694 #7C4BBD #9D78CD #BDA5DE
Accessibility & contrast
On white
5.84
#7C4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#7C4BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4BBD
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4BBD | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0265C1
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#6E637D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7c4bbd; /* rgb */ color: rgb(124, 75, 189); /* oklch */ color: oklch(52.5% 0.173 300.3);
Tailwind
colors: {
custom: {
50: '#a67fd1',
500: '#7c4bbd',
950: '#000000',
},
}SCSS
$custom: #7c4bbd; $custom-light: #a67fd1; $custom-dark: #000000;
JSON
{
"hex": "#7c4bbd",
"rgb": {
"r": 124,
"g": 75,
"b": 189
},
"hsl": {
"h": 265.789,
"s": 46.341,
"l": 51.765
},
"oklch": {
"l": 0.52536,
"c": 0.17283,
"h": 300.3
},
"luminance": 0.12991
}Semantic roles & 50–950 ramp
primary
#7C4BBD
secondary
#B5CB99
accent
#D6529D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82