#7C3ACA#7C3ACA
#7C3ACA is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.210 H 299.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3ACA |
|---|---|
| RGB | rgb(124, 58, 202) |
| HSL | hsl(268, 58%, 51%) |
| HSV | hsv(268, 71%, 79%) |
| CMYK | cmyk(38.6%, 71.3%, 0%, 20.8%) |
| CIE-LAB | lab(40.53, 56.09, -63.74) |
| CIE-LCH | lch(40.53, 84.91, 311.35°) |
| OKLab | oklab(51.23% 0.1044 -0.1819) |
| OKLCH | oklch(51.23% 0.21 299.9) |
| XYZ | xyz(20.4833, 11.5753, 57.0208) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.76
Bluish Purple
#703BE7
ΔE00 4.42
Bluey Purple
#6241C7
ΔE00 4.55
Burple
#6832E3
ΔE00 4.73
Darkorchid
#9932CC
ΔE00 5.06
Darkviolet
#9400D3
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3ACA #88CA3A
analogous
#3A40CA #7C3ACA #C43ACA
triadic
#7C3ACA #CA7C3A #3ACA7C
tetradic
#7C3ACA #CA3A40 #88CA3A #3ACAC4
square
#7C3ACA #CA3A40 #88CA3A #3ACAC4
split-complementary
#7C3ACA #CAC43A #40CA3A
monochromatic
#411D6C #5F2A9D #7C3ACA #9C6AD7 #BC9AE4
Accessibility & contrast
On white
6.33
#7C3ACA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#7C3ACA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3ACA
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3ACA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3ACA | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#6A5E7E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7c3aca; /* rgb */ color: rgb(124, 58, 202); /* oklch */ color: oklch(51.2% 0.210 299.9);
Tailwind
colors: {
custom: {
50: '#a876db',
500: '#7c3aca',
950: '#000000',
},
}SCSS
$custom: #7c3aca; $custom-light: #a876db; $custom-dark: #000000;
JSON
{
"hex": "#7c3aca",
"rgb": {
"r": 124,
"g": 58,
"b": 202
},
"hsl": {
"h": 267.5,
"s": 57.6,
"l": 50.98
},
"oklch": {
"l": 0.51233,
"c": 0.20975,
"h": 299.9
},
"luminance": 0.11575
}Semantic roles & 50–950 ramp
primary
#7C3ACA
secondary
#B3D090
accent
#E1479A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83