#7C3ACD#7C3ACD
#7C3ACD is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.213 H 299.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3ACD |
|---|---|
| RGB | rgb(124, 58, 205) |
| HSL | hsl(267, 60%, 52%) |
| HSV | hsv(267, 72%, 80%) |
| CMYK | cmyk(39.5%, 71.7%, 0%, 19.6%) |
| CIE-LAB | lab(40.77, 56.83, -65.10) |
| CIE-LCH | lch(40.77, 86.42, 311.12°) |
| OKLab | oklab(51.47% 0.1039 -0.1859) |
| OKLCH | oklch(51.47% 0.213 299.2) |
| XYZ | xyz(20.8419, 11.7187, 58.9096) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.48
Bluish Purple
#703BE7
ΔE00 4.02
Burple
#6832E3
ΔE00 4.44
Bluey Purple
#6241C7
ΔE00 4.52
Darkorchid
#9932CC
ΔE00 5.11
Purpley Blue
#5F34E7
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3ACD #8BCD3A
analogous
#3A42CD #7C3ACD #C63ACD
triadic
#7C3ACD #CD7C3A #3ACD7C
tetradic
#7C3ACD #CD3A42 #8BCD3A #3ACDC6
square
#7C3ACD #CD3A42 #8BCD3A #3ACDC6
split-complementary
#7C3ACD #CDC63A #42CD3A
monochromatic
#421C70 #5F29A1 #7C3ACD #9C6BD9 #BD9CE6
Accessibility & contrast
On white
6.28
#7C3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7C3ACD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3ACD
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3ACD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3ACD | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#695F80
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7c3acd; /* rgb */ color: rgb(124, 58, 205); /* oklch */ color: oklch(51.5% 0.213 299.2);
Tailwind
colors: {
custom: {
50: '#a876dd',
500: '#7c3acd',
950: '#000000',
},
}SCSS
$custom: #7c3acd; $custom-light: #a876dd; $custom-dark: #000000;
JSON
{
"hex": "#7c3acd",
"rgb": {
"r": 124,
"g": 58,
"b": 205
},
"hsl": {
"h": 266.939,
"s": 59.514,
"l": 51.569
},
"oklch": {
"l": 0.5147,
"c": 0.21294,
"h": 299.2
},
"luminance": 0.11719
}Semantic roles & 50–950 ramp
primary
#7C3ACD
secondary
#B5D291
accent
#E3459C
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#100915
muted
#7F7B83