#7C3EB7#7C3EB7
#7C3EB7 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.184 H 304.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3EB7 |
|---|---|
| RGB | rgb(124, 62, 183) |
| HSL | hsl(271, 49%, 48%) |
| HSV | hsv(271, 66%, 72%) |
| CMYK | cmyk(32.2%, 66.1%, 0%, 28.2%) |
| CIE-LAB | lab(39.83, 49.53, -53.77) |
| CIE-LCH | lch(39.83, 73.11, 312.65°) |
| OKLab | oklab(50.29% 0.103 -0.1526) |
| OKLCH | oklch(50.29% 0.184 304) |
| XYZ | xyz(18.5801, 11.1493, 45.9637) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.49
Royal Purple
#7851A9
ΔE00 5.51
Bluey Purple
#6241C7
ΔE00 5.65
Purply
#983FB2
ΔE00 6.01
Rebeccapurple
#663399
ΔE00 6.23
Blueviolet
#8A2BE2
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3EB7 #79B73E
analogous
#3F3EB7 #7C3EB7 #B73EB5
triadic
#7C3EB7 #B77C3E #3EB77C
tetradic
#7C3EB7 #B73F3E #79B73E #3EB5B7
square
#7C3EB7 #B73F3E #79B73E #3EB5B7
split-complementary
#7C3EB7 #B5B73E #3EB73F
monochromatic
#3E1F5C #5D2F89 #7C3EB7 #9A67CB #B994DB
Accessibility & contrast
On white
6.50
#7C3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#7C3EB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3EB7
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3EB7 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#155EB4
Tritanopia (blue-blind)
#715975
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7c3eb7; /* rgb */ color: rgb(124, 62, 183); /* oklch */ color: oklch(50.3% 0.184 304.0);
Tailwind
colors: {
custom: {
50: '#a677cd',
500: '#7c3eb7',
950: '#000000',
},
}SCSS
$custom: #7c3eb7; $custom-light: #a677cd; $custom-dark: #000000;
JSON
{
"hex": "#7c3eb7",
"rgb": {
"r": 124,
"g": 62,
"b": 183
},
"hsl": {
"h": 270.744,
"s": 49.388,
"l": 48.039
},
"oklch": {
"l": 0.50293,
"c": 0.18412,
"h": 304
},
"luminance": 0.11149
}Semantic roles & 50–950 ramp
primary
#7C3EB7
secondary
#A8C68A
accent
#D94F92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82