#7C4FBD#7C4FBD
#7C4FBD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.167 H 299.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4FBD |
|---|---|
| RGB | rgb(124, 79, 189) |
| HSL | hsl(265, 45%, 53%) |
| HSV | hsv(265, 58%, 74%) |
| CMYK | cmyk(34.4%, 58.2%, 0%, 25.9%) |
| CIE-LAB | lab(43.58, 42.01, -51.24) |
| CIE-LCH | lch(43.58, 66.26, 309.35°) |
| OKLab | oklab(53.14% 0.0824 -0.1452) |
| OKLCH | oklch(53.14% 0.167 299.6) |
| XYZ | xyz(20.2912, 13.5510, 49.6808) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.55
Light Indigo
#6D5ACF
ΔE00 5.59
Slate Blue
#6A5ACD
ΔE00 5.84
Deep Lavender
#8D5EB7
ΔE00 6.10
Bluey Purple
#6241C7
ΔE00 6.28
Iris
#6258C4
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4FBD #90BD4F
analogous
#4F59BD #7C4FBD #B34FBD
triadic
#7C4FBD #BD7C4F #4FBD7C
tetradic
#7C4FBD #BD4F59 #90BD4F #4FBDB3
square
#7C4FBD #BD4F59 #90BD4F #4FBDB3
split-complementary
#7C4FBD #BDB34F #59BD4F
monochromatic
#43286A #5F3896 #7C4FBD #9D7CCE #BEA8DE
Accessibility & contrast
On white
5.66
#7C4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#7C4FBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4FBD
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4FBD | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1767C1
Deuteranopia (green-blind)
#2C66BB
Tritanopia (blue-blind)
#6E667E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7c4fbd; /* rgb */ color: rgb(124, 79, 189); /* oklch */ color: oklch(53.1% 0.167 299.6);
Tailwind
colors: {
custom: {
50: '#a682d1',
500: '#7c4fbd',
950: '#000000',
},
}SCSS
$custom: #7c4fbd; $custom-light: #a682d1; $custom-dark: #000000;
JSON
{
"hex": "#7c4fbd",
"rgb": {
"r": 124,
"g": 79,
"b": 189
},
"hsl": {
"h": 264.545,
"s": 45.455,
"l": 52.549
},
"oklch": {
"l": 0.53144,
"c": 0.16697,
"h": 299.6
},
"luminance": 0.13551
}Semantic roles & 50–950 ramp
primary
#7C4FBD
secondary
#B8CC9C
accent
#D553A0
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82