#7C3DCA#7C3DCA
#7C3DCA is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.206 H 299.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7C3DCA |
|---|---|
| RGB | rgb(124, 61, 202) |
| HSL | hsl(267, 57%, 52%) |
| HSV | hsv(267, 70%, 79%) |
| CMYK | cmyk(38.6%, 69.8%, 0%, 20.8%) |
| CIE-LAB | lab(41.04, 54.69, -62.92) |
| CIE-LCH | lch(41.04, 83.36, 311.00°) |
| OKLab | oklab(51.59% 0.1015 -0.1795) |
| OKLCH | oklch(51.59% 0.206 299.5) |
| XYZ | xyz(20.6389, 11.8866, 57.0726) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.96
Bluish Purple
#703BE7
ΔE00 4.38
Bluey Purple
#6241C7
ΔE00 4.47
Burple
#6832E3
ΔE00 4.94
Darkorchid
#9932CC
ΔE00 5.10
Purpley Blue
#5F34E7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C3DCA #8BCA3D
analogous
#3D45CA #7C3DCA #C33DCA
triadic
#7C3DCA #CA7C3D #3DCA7C
tetradic
#7C3DCA #CA3D45 #8BCA3D #3DCAC3
square
#7C3DCA #CA3D45 #8BCA3D #3DCAC3
split-complementary
#7C3DCA #CAC33D #45CA3D
monochromatic
#421E6E #5F2B9F #7C3DCA #9C6DD7 #BD9DE4
Accessibility & contrast
On white
6.22
#7C3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#7C3DCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C3DCA
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C3DCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C3DCA | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#6A5F7F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7c3dca; /* rgb */ color: rgb(124, 61, 202); /* oklch */ color: oklch(51.6% 0.206 299.5);
Tailwind
colors: {
custom: {
50: '#a877db',
500: '#7c3dca',
950: '#000000',
},
}SCSS
$custom: #7c3dca; $custom-light: #a877db; $custom-dark: #000000;
JSON
{
"hex": "#7c3dca",
"rgb": {
"r": 124,
"g": 61,
"b": 202
},
"hsl": {
"h": 266.809,
"s": 57.085,
"l": 51.569
},
"oklch": {
"l": 0.5159,
"c": 0.20622,
"h": 299.5
},
"luminance": 0.11887
}Semantic roles & 50–950 ramp
primary
#7C3DCA
secondary
#B5D092
accent
#E0479C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83