#7C3DC6#7C3DC6
#7C3DC6 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.202 H 300.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3DC6 |
|---|---|
| RGB | rgb(124, 61, 198) |
| HSL | hsl(268, 55%, 51%) |
| HSV | hsv(268, 69%, 78%) |
| CMYK | cmyk(37.4%, 69.2%, 0%, 22.4%) |
| CIE-LAB | lab(40.73, 53.70, -61.09) |
| CIE-LCH | lch(40.73, 81.33, 311.32°) |
| OKLab | oklab(51.28% 0.1022 -0.1741) |
| OKLCH | oklch(51.28% 0.202 300.4) |
| XYZ | xyz(20.1715, 11.6996, 54.6107) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.36
Bluey Purple
#6241C7
ΔE00 4.57
Bluish Purple
#703BE7
ΔE00 4.92
Darkorchid
#9932CC
ΔE00 5.06
Burple
#6832E3
ΔE00 5.35
Darkviolet
#9400D3
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3DC6 #87C63D
analogous
#3D42C6 #7C3DC6 #C03DC6
triadic
#7C3DC6 #C67C3D #3DC67C
tetradic
#7C3DC6 #C63D42 #87C63D #3DC6C0
square
#7C3DC6 #C63D42 #87C63D #3DC6C0
split-complementary
#7C3DC6 #C6C03D #42C63D
monochromatic
#411F6A #5F2D99 #7C3DC6 #9C6CD4 #BC9CE2
Accessibility & contrast
On white
6.29
#7C3DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7C3DC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3DC6
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3DC6 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#6C5E7D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7c3dc6; /* rgb */ color: rgb(124, 61, 198); /* oklch */ color: oklch(51.3% 0.202 300.4);
Tailwind
colors: {
custom: {
50: '#a877d8',
500: '#7c3dc6',
950: '#000000',
},
}SCSS
$custom: #7c3dc6; $custom-light: #a877d8; $custom-dark: #000000;
JSON
{
"hex": "#7c3dc6",
"rgb": {
"r": 124,
"g": 61,
"b": 198
},
"hsl": {
"h": 267.591,
"s": 54.582,
"l": 50.784
},
"oklch": {
"l": 0.51281,
"c": 0.20187,
"h": 300.4
},
"luminance": 0.117
}Semantic roles & 50–950 ramp
primary
#7C3DC6
secondary
#B2CE91
accent
#DE4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83