#7A30B2#7A30B2
#7A30B2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.196 H 306.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7A30B2 |
|---|---|
| RGB | rgb(122, 48, 178) |
| HSL | hsl(274, 58%, 44%) |
| HSV | hsv(274, 73%, 70%) |
| CMYK | cmyk(31.5%, 73%, 0%, 30.2%) |
| CIE-LAB | lab(36.87, 54.49, -55.63) |
| CIE-LCH | lch(36.87, 77.87, 314.41°) |
| OKLab | oklab(48.01% 0.1158 -0.1581) |
| OKLCH | oklch(48.01% 0.196 306.2) |
| XYZ | xyz(17.1171, 9.4660, 43.0362) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.74
Rebeccapurple
#663399
ΔE00 4.80
Darkviolet
#9400D3
ΔE00 5.85
Darkorchid
#9932CC
ΔE00 6.44
Bluey Purple
#6241C7
ΔE00 6.70
Blueviolet
#8A2BE2
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A30B2 #68B230
analogous
#3930B2 #7A30B2 #B230A9
triadic
#7A30B2 #B27A30 #30B27A
tetradic
#7A30B2 #B23930 #68B230 #30A9B2
square
#7A30B2 #B23930 #68B230 #30A9B2
split-complementary
#7A30B2 #A9B230 #30B239
monochromatic
#381652 #592382 #7A30B2 #9850D0 #B580DD
Accessibility & contrast
On white
7.26
#7A30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#7A30B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A30B2
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A30B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A30B2 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#704F6E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7a30b2; /* rgb */ color: rgb(122, 48, 178); /* oklch */ color: oklch(48.0% 0.196 306.2);
Tailwind
colors: {
custom: {
50: '#a56fca',
500: '#7a30b2',
950: '#000000',
},
}SCSS
$custom: #7a30b2; $custom-light: #a56fca; $custom-dark: #000000;
JSON
{
"hex": "#7a30b2",
"rgb": {
"r": 122,
"g": 48,
"b": 178
},
"hsl": {
"h": 274.154,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.48007,
"c": 0.19594,
"h": 306.2
},
"luminance": 0.09466
}Semantic roles & 50–950 ramp
primary
#7A30B2
secondary
#9AC678
accent
#E14789
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82