#7A30B3#7A30B3
#7A30B3 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.1% C 0.197 H 305.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7A30B3 |
|---|---|
| RGB | rgb(122, 48, 179) |
| HSL | hsl(274, 58%, 45%) |
| HSV | hsv(274, 73%, 70%) |
| CMYK | cmyk(31.8%, 73.2%, 0%, 29.8%) |
| CIE-LAB | lab(36.94, 54.72, -56.10) |
| CIE-LCH | lch(36.94, 78.36, 314.29°) |
| OKLab | oklab(48.08% 0.1156 -0.1595) |
| OKLCH | oklch(48.08% 0.197 305.9) |
| XYZ | xyz(17.2179, 9.5063, 43.5669) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.87
Rebeccapurple
#663399
ΔE00 4.90
Darkviolet
#9400D3
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 6.38
Bluey Purple
#6241C7
ΔE00 6.59
Blueviolet
#8A2BE2
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A30B3 #69B330
analogous
#3930B3 #7A30B3 #B330AB
triadic
#7A30B3 #B37A30 #30B37A
tetradic
#7A30B3 #B33930 #69B330 #30ABB3
square
#7A30B3 #B33930 #69B330 #30ABB3
split-complementary
#7A30B3 #ABB330 #30B339
monochromatic
#381652 #592383 #7A30B3 #9850D0 #B580DD
Accessibility & contrast
On white
7.24
#7A30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#7A30B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A30B3
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A30B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A30B3 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#704F6F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7a30b3; /* rgb */ color: rgb(122, 48, 179); /* oklch */ color: oklch(48.1% 0.197 305.9);
Tailwind
colors: {
custom: {
50: '#a56fcb',
500: '#7a30b3',
950: '#000000',
},
}SCSS
$custom: #7a30b3; $custom-light: #a56fcb; $custom-dark: #000000;
JSON
{
"hex": "#7a30b3",
"rgb": {
"r": 122,
"g": 48,
"b": 179
},
"hsl": {
"h": 273.893,
"s": 57.709,
"l": 44.51
},
"oklch": {
"l": 0.48083,
"c": 0.19695,
"h": 305.9
},
"luminance": 0.09506
}Semantic roles & 50–950 ramp
primary
#7A30B3
secondary
#9AC679
accent
#E1478A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82