#7E30B6#7E30B6
#7E30B6 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.201 H 306.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7E30B6 |
|---|---|
| RGB | rgb(126, 48, 182) |
| HSL | hsl(275, 58%, 45%) |
| HSV | hsv(275, 74%, 71%) |
| CMYK | cmyk(30.8%, 73.6%, 0%, 28.6%) |
| CIE-LAB | lab(37.71, 56.16, -56.60) |
| CIE-LCH | lch(37.71, 79.74, 314.78°) |
| OKLab | oklab(48.81% 0.1206 -0.1608) |
| OKLCH | oklch(48.81% 0.201 306.9) |
| XYZ | xyz(18.1028, 9.9271, 45.2094) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 5.11
Darkviolet
#9400D3
ΔE00 5.17
Darkorchid
#9932CC
ΔE00 5.60
Rebeccapurple
#663399
ΔE00 5.63
Blueviolet
#8A2BE2
ΔE00 6.15
Purply
#983FB2
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E30B6 #68B630
analogous
#3B30B6 #7E30B6 #B630AB
triadic
#7E30B6 #B67E30 #30B67E
tetradic
#7E30B6 #B63B30 #68B630 #30ABB6
square
#7E30B6 #B63B30 #68B630 #30ABB6
split-complementary
#7E30B6 #ABB630 #30B63B
monochromatic
#3B1655 #5C2386 #7E30B6 #9C52D1 #B882DE
Accessibility & contrast
On white
7.03
#7E30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#7E30B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E30B6
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E30B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E30B6 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#745071
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7e30b6; /* rgb */ color: rgb(126, 48, 182); /* oklch */ color: oklch(48.8% 0.201 306.9);
Tailwind
colors: {
custom: {
50: '#a870cd',
500: '#7e30b6',
950: '#000000',
},
}SCSS
$custom: #7e30b6; $custom-light: #a870cd; $custom-dark: #000000;
JSON
{
"hex": "#7e30b6",
"rgb": {
"r": 126,
"g": 48,
"b": 182
},
"hsl": {
"h": 274.925,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.48814,
"c": 0.20097,
"h": 306.9
},
"luminance": 0.09927
}Semantic roles & 50–950 ramp
primary
#7E30B6
secondary
#9BC77B
accent
#E14687
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82