#7C30B6#7C30B6
#7C30B6 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.200 H 306.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7C30B6 |
|---|---|
| RGB | rgb(124, 48, 182) |
| HSL | hsl(274, 58%, 45%) |
| HSV | hsv(274, 74%, 71%) |
| CMYK | cmyk(31.9%, 73.6%, 0%, 28.6%) |
| CIE-LAB | lab(37.44, 55.78, -57.06) |
| CIE-LCH | lch(37.44, 79.80, 314.35°) |
| OKLab | oklab(48.56% 0.1178 -0.1622) |
| OKLCH | oklch(48.56% 0.2 306) |
| XYZ | xyz(17.8108, 9.7765, 45.1957) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 5.17
Darkviolet
#9400D3
ΔE00 5.33
Rebeccapurple
#663399
ΔE00 5.41
Darkorchid
#9932CC
ΔE00 5.90
Blueviolet
#8A2BE2
ΔE00 6.22
Bluey Purple
#6241C7
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C30B6 #6AB630
analogous
#3930B6 #7C30B6 #B630AD
triadic
#7C30B6 #B67C30 #30B67C
tetradic
#7C30B6 #B63930 #6AB630 #30ADB6
square
#7C30B6 #B63930 #6AB630 #30ADB6
split-complementary
#7C30B6 #ADB630 #30B639
monochromatic
#3A1655 #5B2386 #7C30B6 #9A52D1 #B682DE
Accessibility & contrast
On white
7.11
#7C30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#7C30B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C30B6
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C30B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C30B6 | 1.00 | 7.11 | 2.96 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#725070
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7c30b6; /* rgb */ color: rgb(124, 48, 182); /* oklch */ color: oklch(48.6% 0.200 306.0);
Tailwind
colors: {
custom: {
50: '#a770cd',
500: '#7c30b6',
950: '#000000',
},
}SCSS
$custom: #7c30b6; $custom-light: #a770cd; $custom-dark: #000000;
JSON
{
"hex": "#7c30b6",
"rgb": {
"r": 124,
"g": 48,
"b": 182
},
"hsl": {
"h": 274.03,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.48564,
"c": 0.20047,
"h": 306
},
"luminance": 0.09776
}Semantic roles & 50–950 ramp
primary
#7C30B6
secondary
#9CC77B
accent
#E14689
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82