#7C3FAC#7C3FAC
#7C3FAC is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.170 H 307.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3FAC |
|---|---|
| RGB | rgb(124, 63, 172) |
| HSL | hsl(274, 46%, 46%) |
| HSV | hsv(274, 63%, 67%) |
| CMYK | cmyk(27.9%, 63.4%, 0%, 32.5%) |
| CIE-LAB | lab(39.27, 46.39, -48.16) |
| CIE-LCH | lch(39.27, 66.87, 313.92°) |
| OKLab | oklab(49.66% 0.1026 -0.1361) |
| OKLCH | oklch(49.66% 0.17 307) |
| XYZ | xyz(17.5345, 10.8189, 40.1862) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.86
Rebeccapurple
#663399
ΔE00 5.46
Purply
#983FB2
ΔE00 5.52
Darkorchid
#9932CC
ΔE00 6.36
Purple (survey)
#7E1E9C
ΔE00 6.42
Bluey Purple
#6241C7
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3FAC #6FAC3F
analogous
#453FAC #7C3FAC #AC3FA5
triadic
#7C3FAC #AC7C3F #3FAC7C
tetradic
#7C3FAC #AC453F #6FAC3F #3FA5AC
square
#7C3FAC #AC453F #6FAC3F #3FA5AC
split-complementary
#7C3FAC #A5AC3F #3FAC45
monochromatic
#3B1E52 #5C2F7F #7C3FAC #9A63C6 #B78FD6
Accessibility & contrast
On white
6.64
#7C3FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#7C3FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3FAC
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3FAC | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#2A5DAA
Tritanopia (blue-blind)
#745570
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7c3fac; /* rgb */ color: rgb(124, 63, 172); /* oklch */ color: oklch(49.7% 0.170 307.0);
Tailwind
colors: {
custom: {
50: '#a578c5',
500: '#7c3fac',
950: '#000000',
},
}SCSS
$custom: #7c3fac; $custom-light: #a578c5; $custom-dark: #000000;
JSON
{
"hex": "#7c3fac",
"rgb": {
"r": 124,
"g": 63,
"b": 172
},
"hsl": {
"h": 273.578,
"s": 46.383,
"l": 46.078
},
"oklch": {
"l": 0.49655,
"c": 0.17049,
"h": 307
},
"luminance": 0.10819
}Semantic roles & 50–950 ramp
primary
#7C3FAC
secondary
#A0C186
accent
#D6528C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82