#7A30C1#7A30C1
#7A30C1 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.211 H 302.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7A30C1 |
|---|---|
| RGB | rgb(122, 48, 193) |
| HSL | hsl(271, 60%, 47%) |
| HSV | hsv(271, 75%, 76%) |
| CMYK | cmyk(36.8%, 75.1%, 0%, 24.3%) |
| CIE-LAB | lab(38.02, 57.98, -62.59) |
| CIE-LCH | lch(38.02, 85.31, 312.81°) |
| OKLab | oklab(49.19% 0.1127 -0.1785) |
| OKLCH | oklch(49.19% 0.211 302.3) |
| XYZ | xyz(18.7063, 10.1017, 51.4060) |
| Luminance | 0.1010 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.86
Blueviolet
#8A2BE2
ΔE00 4.89
Bluey Purple
#6241C7
ΔE00 5.39
Burple
#6832E3
ΔE00 5.46
Purple Blue
#5D21D0
ΔE00 5.67
Darkorchid
#9932CC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A30C1 #77C130
analogous
#3230C1 #7A30C1 #C130BF
triadic
#7A30C1 #C17A30 #30C17A
tetradic
#7A30C1 #C13230 #77C130 #30BFC1
square
#7A30C1 #C13230 #77C130 #30BFC1
split-complementary
#7A30C1 #BFC130 #30C132
monochromatic
#3C185F #5B2490 #7A30C1 #9859D6 #B78AE2
Accessibility & contrast
On white
6.95
#7A30C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#7A30C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A30C1
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A30C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A30C1 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#6B5577
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7a30c1; /* rgb */ color: rgb(122, 48, 193); /* oklch */ color: oklch(49.2% 0.211 302.3);
Tailwind
colors: {
custom: {
50: '#a770d5',
500: '#7a30c1',
950: '#000000',
},
}SCSS
$custom: #7a30c1; $custom-light: #a770d5; $custom-dark: #000000;
JSON
{
"hex": "#7a30c1",
"rgb": {
"r": 122,
"g": 48,
"b": 193
},
"hsl": {
"h": 270.621,
"s": 60.166,
"l": 47.255
},
"oklch": {
"l": 0.49186,
"c": 0.21114,
"h": 302.3
},
"luminance": 0.10102
}Semantic roles & 50–950 ramp
primary
#7A30C1
secondary
#A6CC81
accent
#E34492
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83