#7C3FBA#7C3FBA
#7C3FBA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.186 H 303.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3FBA |
|---|---|
| RGB | rgb(124, 63, 186) |
| HSL | hsl(270, 49%, 49%) |
| HSV | hsv(270, 66%, 73%) |
| CMYK | cmyk(33.3%, 66.1%, 0%, 27.1%) |
| CIE-LAB | lab(40.22, 49.76, -54.90) |
| CIE-LCH | lch(40.22, 74.10, 312.19°) |
| OKLab | oklab(50.64% 0.1016 -0.1559) |
| OKLCH | oklch(50.64% 0.186 303.1) |
| XYZ | xyz(18.9506, 11.3853, 47.6441) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.34
Darkorchid
#9932CC
ΔE00 5.37
Royal Purple
#7851A9
ΔE00 5.52
Blueviolet
#8A2BE2
ΔE00 5.91
Purply
#983FB2
ΔE00 6.17
Rebeccapurple
#663399
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3FBA #7DBA3F
analogous
#3F40BA #7C3FBA #BA3FBA
triadic
#7C3FBA #BA7C3F #3FBA7C
tetradic
#7C3FBA #BA3F40 #7DBA3F #3FBABA
square
#7C3FBA #BA3F40 #7DBA3F #3FBABA
split-complementary
#7C3FBA #BABA3F #40BA3F
monochromatic
#3F205F #5E308C #7C3FBA #9B6ACC #B997DC
Accessibility & contrast
On white
6.41
#7C3FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#7C3FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3FBA
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3FBA | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0F5EB7
Tritanopia (blue-blind)
#705A77
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7c3fba; /* rgb */ color: rgb(124, 63, 186); /* oklch */ color: oklch(50.6% 0.186 303.1);
Tailwind
colors: {
custom: {
50: '#a678cf',
500: '#7c3fba',
950: '#000000',
},
}SCSS
$custom: #7c3fba; $custom-light: #a678cf; $custom-dark: #000000;
JSON
{
"hex": "#7c3fba",
"rgb": {
"r": 124,
"g": 63,
"b": 186
},
"hsl": {
"h": 269.756,
"s": 49.398,
"l": 48.824
},
"oklch": {
"l": 0.5064,
"c": 0.1861,
"h": 303.1
},
"luminance": 0.11385
}Semantic roles & 50–950 ramp
primary
#7C3FBA
secondary
#ABC88D
accent
#D94F94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82