#7C3CCA#7C3CCA
#7C3CCA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.207 H 299.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3CCA |
|---|---|
| RGB | rgb(124, 60, 202) |
| HSL | hsl(267, 57%, 51%) |
| HSV | hsv(267, 70%, 79%) |
| CMYK | cmyk(38.6%, 70.3%, 0%, 20.8%) |
| CIE-LAB | lab(40.87, 55.16, -63.20) |
| CIE-LCH | lch(40.87, 83.88, 311.12°) |
| OKLab | oklab(51.47% 0.1025 -0.1803) |
| OKLCH | oklch(51.47% 0.207 299.6) |
| XYZ | xyz(20.5860, 11.7808, 57.0550) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.88
Bluish Purple
#703BE7
ΔE00 4.38
Bluey Purple
#6241C7
ΔE00 4.49
Burple
#6832E3
ΔE00 4.86
Darkorchid
#9932CC
ΔE00 5.08
Darkviolet
#9400D3
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3CCA #8ACA3C
analogous
#3C43CA #7C3CCA #C33CCA
triadic
#7C3CCA #CA7C3C #3CCA7C
tetradic
#7C3CCA #CA3C43 #8ACA3C #3CCAC3
square
#7C3CCA #CA3C43 #8ACA3C #3CCAC3
split-complementary
#7C3CCA #CAC33C #43CA3C
monochromatic
#421E6E #5F2B9E #7C3CCA #9C6CD7 #BD9CE4
Accessibility & contrast
On white
6.26
#7C3CCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#7C3CCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3CCA
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3CCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3CCA | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#6A5F7F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7c3cca; /* rgb */ color: rgb(124, 60, 202); /* oklch */ color: oklch(51.5% 0.207 299.6);
Tailwind
colors: {
custom: {
50: '#a877db',
500: '#7c3cca',
950: '#000000',
},
}SCSS
$custom: #7c3cca; $custom-light: #a877db; $custom-dark: #000000;
JSON
{
"hex": "#7c3cca",
"rgb": {
"r": 124,
"g": 60,
"b": 202
},
"hsl": {
"h": 267.042,
"s": 57.258,
"l": 51.373
},
"oklch": {
"l": 0.51469,
"c": 0.20741,
"h": 299.6
},
"luminance": 0.11781
}Semantic roles & 50–950 ramp
primary
#7C3CCA
secondary
#B4D092
accent
#E1479B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83