#7C3FB7#7C3FB7
#7C3FB7 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.183 H 303.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3FB7 |
|---|---|
| RGB | rgb(124, 63, 183) |
| HSL | hsl(271, 49%, 48%) |
| HSV | hsv(271, 66%, 72%) |
| CMYK | cmyk(32.2%, 65.6%, 0%, 28.2%) |
| CIE-LAB | lab(40.01, 49.03, -53.48) |
| CIE-LCH | lch(40.01, 72.55, 312.52°) |
| OKLab | oklab(50.42% 0.1019 -0.1518) |
| OKLCH | oklch(50.42% 0.183 303.9) |
| XYZ | xyz(18.6350, 11.2590, 45.9820) |
| Luminance | 0.1126 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.31
Darkorchid
#9932CC
ΔE00 5.52
Bluey Purple
#6241C7
ΔE00 5.64
Purply
#983FB2
ΔE00 5.98
Blueviolet
#8A2BE2
ΔE00 6.31
Rebeccapurple
#663399
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3FB7 #7AB73F
analogous
#403FB7 #7C3FB7 #B73FB6
triadic
#7C3FB7 #B77C3F #3FB77C
tetradic
#7C3FB7 #B7403F #7AB73F #3FB6B7
square
#7C3FB7 #B7403F #7AB73F #3FB6B7
split-complementary
#7C3FB7 #B6B73F #3FB740
monochromatic
#3E205C #5D2F89 #7C3FB7 #9A68CB #B996DB
Accessibility & contrast
On white
6.46
#7C3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#7C3FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3FB7
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3FB7 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#185EB4
Tritanopia (blue-blind)
#715975
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7c3fb7; /* rgb */ color: rgb(124, 63, 183); /* oklch */ color: oklch(50.4% 0.183 303.9);
Tailwind
colors: {
custom: {
50: '#a678cd',
500: '#7c3fb7',
950: '#000000',
},
}SCSS
$custom: #7c3fb7; $custom-light: #a678cd; $custom-dark: #000000;
JSON
{
"hex": "#7c3fb7",
"rgb": {
"r": 124,
"g": 63,
"b": 183
},
"hsl": {
"h": 270.5,
"s": 48.78,
"l": 48.235
},
"oklch": {
"l": 0.50424,
"c": 0.18277,
"h": 303.9
},
"luminance": 0.11259
}Semantic roles & 50–950 ramp
primary
#7C3FB7
secondary
#A8C68B
accent
#D84F93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82