#7C3CCC#7C3CCC
#7C3CCC is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.210 H 299.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3CCC |
|---|---|
| RGB | rgb(124, 60, 204) |
| HSL | hsl(267, 59%, 52%) |
| HSV | hsv(267, 71%, 80%) |
| CMYK | cmyk(39.2%, 70.6%, 0%, 20%) |
| CIE-LAB | lab(41.02, 55.66, -64.11) |
| CIE-LCH | lch(41.02, 84.90, 310.96°) |
| OKLab | oklab(51.63% 0.1021 -0.183) |
| OKLCH | oklch(51.63% 0.21 299.2) |
| XYZ | xyz(20.8244, 11.8762, 58.3102) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.70
Bluish Purple
#703BE7
ΔE00 4.12
Bluey Purple
#6241C7
ΔE00 4.46
Burple
#6832E3
ΔE00 4.67
Darkorchid
#9932CC
ΔE00 5.11
Purpley Blue
#5F34E7
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3CCC #8CCC3C
analogous
#3C44CC #7C3CCC #C43CCC
triadic
#7C3CCC #CC7C3C #3CCC7C
tetradic
#7C3CCC #CC3C44 #8CCC3C #3CCCC4
square
#7C3CCC #CC3C44 #8CCC3C #3CCCC4
split-complementary
#7C3CCC #CCC43C #44CC3C
monochromatic
#421D70 #5F2AA1 #7C3CCC #9D6DD9 #BD9DE5
Accessibility & contrast
On white
6.22
#7C3CCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#7C3CCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3CCC
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3CCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3CCC | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#695F80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7c3ccc; /* rgb */ color: rgb(124, 60, 204); /* oklch */ color: oklch(51.6% 0.210 299.2);
Tailwind
colors: {
custom: {
50: '#a877dd',
500: '#7c3ccc',
950: '#000000',
},
}SCSS
$custom: #7c3ccc; $custom-light: #a877dd; $custom-dark: #000000;
JSON
{
"hex": "#7c3ccc",
"rgb": {
"r": 124,
"g": 60,
"b": 204
},
"hsl": {
"h": 266.667,
"s": 58.537,
"l": 51.765
},
"oklch": {
"l": 0.51626,
"c": 0.20957,
"h": 299.2
},
"luminance": 0.11876
}Semantic roles & 50–950 ramp
primary
#7C3CCC
secondary
#B5D192
accent
#E2469D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83