#7C3DC3#7C3DC3
#7C3DC3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.199 H 301.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3DC3 |
|---|---|
| RGB | rgb(124, 61, 195) |
| HSL | hsl(268, 53%, 50%) |
| HSV | hsv(268, 69%, 76%) |
| CMYK | cmyk(36.4%, 68.7%, 0%, 23.5%) |
| CIE-LAB | lab(40.51, 52.96, -59.70) |
| CIE-LCH | lch(40.51, 79.80, 311.57°) |
| OKLab | oklab(51.05% 0.1026 -0.17) |
| OKLCH | oklch(51.05% 0.199 301.1) |
| XYZ | xyz(19.8289, 11.5626, 52.8063) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.68
Bluey Purple
#6241C7
ΔE00 4.71
Darkorchid
#9932CC
ΔE00 5.07
Bluish Purple
#703BE7
ΔE00 5.35
Burple
#6832E3
ΔE00 5.69
Darkviolet
#9400D3
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3DC3 #84C33D
analogous
#3D41C3 #7C3DC3 #BF3DC3
triadic
#7C3DC3 #C37C3D #3DC37C
tetradic
#7C3DC3 #C33D41 #84C33D #3DC3BF
square
#7C3DC3 #C33D41 #84C33D #3DC3BF
split-complementary
#7C3DC3 #C3BF3D #41C33D
monochromatic
#412066 #5E2E95 #7C3DC3 #9C6CD1 #BB9AE0
Accessibility & contrast
On white
6.34
#7C3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#7C3DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3DC3
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3DC3 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#6D5C7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7c3dc3; /* rgb */ color: rgb(124, 61, 195); /* oklch */ color: oklch(51.1% 0.199 301.1);
Tailwind
colors: {
custom: {
50: '#a777d6',
500: '#7c3dc3',
950: '#000000',
},
}SCSS
$custom: #7c3dc3; $custom-light: #a777d6; $custom-dark: #000000;
JSON
{
"hex": "#7c3dc3",
"rgb": {
"r": 124,
"g": 61,
"b": 195
},
"hsl": {
"h": 268.209,
"s": 52.756,
"l": 50.196
},
"oklch": {
"l": 0.51053,
"c": 0.1986,
"h": 301.1
},
"luminance": 0.11563
}Semantic roles & 50–950 ramp
primary
#7C3DC3
secondary
#B0CC90
accent
#DC4C98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83