#7C3DC2#7C3DC2
#7C3DC2 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.198 H 301.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3DC2 |
|---|---|
| RGB | rgb(124, 61, 194) |
| HSL | hsl(268, 52%, 50%) |
| HSV | hsv(268, 69%, 76%) |
| CMYK | cmyk(36.1%, 68.6%, 0%, 23.9%) |
| CIE-LAB | lab(40.44, 52.71, -59.24) |
| CIE-LCH | lch(40.44, 79.29, 311.66°) |
| OKLab | oklab(50.98% 0.1027 -0.1687) |
| OKLCH | oklch(50.98% 0.198 301.3) |
| XYZ | xyz(19.7162, 11.5175, 52.2129) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.76
Blueviolet
#8A2BE2
ΔE00 4.80
Darkorchid
#9932CC
ΔE00 5.08
Bluish Purple
#703BE7
ΔE00 5.49
Burple
#6832E3
ΔE00 5.81
Darkviolet
#9400D3
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3DC2 #83C23D
analogous
#3D40C2 #7C3DC2 #BF3DC2
triadic
#7C3DC2 #C27C3D #3DC27C
tetradic
#7C3DC2 #C23D40 #83C23D #3DC2BF
square
#7C3DC2 #C23D40 #83C23D #3DC2BF
split-complementary
#7C3DC2 #C2BF3D #40C23D
monochromatic
#402065 #5E2E93 #7C3DC2 #9B6CD1 #BB9ADF
Accessibility & contrast
On white
6.36
#7C3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#7C3DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3DC2
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3DC2 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#6D5C7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7c3dc2; /* rgb */ color: rgb(124, 61, 194); /* oklch */ color: oklch(51.0% 0.198 301.3);
Tailwind
colors: {
custom: {
50: '#a777d5',
500: '#7c3dc2',
950: '#000000',
},
}SCSS
$custom: #7c3dc2; $custom-light: #a777d5; $custom-dark: #000000;
JSON
{
"hex": "#7c3dc2",
"rgb": {
"r": 124,
"g": 61,
"b": 194
},
"hsl": {
"h": 268.421,
"s": 52.157,
"l": 50
},
"oklch": {
"l": 0.50977,
"c": 0.19751,
"h": 301.3
},
"luminance": 0.11518
}Semantic roles & 50–950 ramp
primary
#7C3DC2
secondary
#AFCB90
accent
#DC4C98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83