#7C3FB3#7C3FB3
#7C3FB3 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.178 H 305.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3FB3 |
|---|---|
| RGB | rgb(124, 63, 179) |
| HSL | hsl(272, 48%, 47%) |
| HSV | hsv(272, 65%, 70%) |
| CMYK | cmyk(30.7%, 64.8%, 0%, 29.8%) |
| CIE-LAB | lab(39.74, 48.06, -51.56) |
| CIE-LCH | lch(39.74, 70.49, 312.99°) |
| OKLab | oklab(50.14% 0.1022 -0.1461) |
| OKLCH | oklch(50.14% 0.178 305) |
| XYZ | xyz(18.2246, 11.0949, 43.8205) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.09
Purply
#983FB2
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 5.77
Rebeccapurple
#663399
ΔE00 5.97
Bluey Purple
#6241C7
ΔE00 6.09
Blueviolet
#8A2BE2
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3FB3 #76B33F
analogous
#423FB3 #7C3FB3 #B33FB0
triadic
#7C3FB3 #B37C3F #3FB37C
tetradic
#7C3FB3 #B3423F #76B33F #3FB0B3
square
#7C3FB3 #B3423F #76B33F #3FB0B3
split-complementary
#7C3FB3 #B0B33F #3FB342
monochromatic
#3D1F58 #5D2F86 #7C3FB3 #9A66C9 #B893D9
Accessibility & contrast
On white
6.52
#7C3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#7C3FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3FB3
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3FB3 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#1F5EB0
Tritanopia (blue-blind)
#725873
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7c3fb3; /* rgb */ color: rgb(124, 63, 179); /* oklch */ color: oklch(50.1% 0.178 305.0);
Tailwind
colors: {
custom: {
50: '#a678ca',
500: '#7c3fb3',
950: '#000000',
},
}SCSS
$custom: #7c3fb3; $custom-light: #a678ca; $custom-dark: #000000;
JSON
{
"hex": "#7c3fb3",
"rgb": {
"r": 124,
"g": 63,
"b": 179
},
"hsl": {
"h": 271.552,
"s": 47.934,
"l": 47.451
},
"oklch": {
"l": 0.5014,
"c": 0.1783,
"h": 305
},
"luminance": 0.11095
}Semantic roles & 50–950 ramp
primary
#7C3FB3
secondary
#A5C489
accent
#D85090
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82