#7C39B8#7C39B8
#7C39B8 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.192 H 304.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7C39B8 |
|---|---|
| RGB | rgb(124, 57, 184) |
| HSL | hsl(272, 53%, 47%) |
| HSV | hsv(272, 69%, 72%) |
| CMYK | cmyk(32.6%, 69%, 0%, 27.8%) |
| CIE-LAB | lab(39.02, 52.21, -55.67) |
| CIE-LCH | lch(39.02, 76.32, 313.16°) |
| OKLab | oklab(49.74% 0.1084 -0.1582) |
| OKLCH | oklch(49.74% 0.192 304.4) |
| XYZ | xyz(18.4251, 10.6721, 46.4274) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.41
Bluey Purple
#6241C7
ΔE00 5.72
Blueviolet
#8A2BE2
ΔE00 5.90
Rebeccapurple
#663399
ΔE00 5.93
Darkviolet
#9400D3
ΔE00 6.02
Purply
#983FB2
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C39B8 #75B839
analogous
#3D39B8 #7C39B8 #B839B4
triadic
#7C39B8 #B87C39 #39B87C
tetradic
#7C39B8 #B83D39 #75B839 #39B4B8
square
#7C39B8 #B83D39 #75B839 #39B4B8
split-complementary
#7C39B8 #B4B839 #39B83D
monochromatic
#3D1C5B #5D2B89 #7C39B8 #9A60CE #B88FDC
Accessibility & contrast
On white
6.70
#7C39B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#7C39B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C39B8
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C39B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C39B8 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#005CB5
Tritanopia (blue-blind)
#715674
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7c39b8; /* rgb */ color: rgb(124, 57, 184); /* oklch */ color: oklch(49.7% 0.192 304.4);
Tailwind
colors: {
custom: {
50: '#a774ce',
500: '#7c39b8',
950: '#000000',
},
}SCSS
$custom: #7c39b8; $custom-light: #a774ce; $custom-dark: #000000;
JSON
{
"hex": "#7c39b8",
"rgb": {
"r": 124,
"g": 57,
"b": 184
},
"hsl": {
"h": 271.654,
"s": 52.697,
"l": 47.255
},
"oklch": {
"l": 0.49736,
"c": 0.19173,
"h": 304.4
},
"luminance": 0.10672
}Semantic roles & 50–950 ramp
primary
#7C39B8
secondary
#A5C786
accent
#DC4C90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82