#7A30AF#7A30AF
#7A30AF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.193 H 307.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7A30AF |
|---|---|
| RGB | rgb(122, 48, 175) |
| HSL | hsl(275, 57%, 44%) |
| HSV | hsv(275, 73%, 69%) |
| CMYK | cmyk(30.3%, 72.6%, 0%, 31.4%) |
| CIE-LAB | lab(36.64, 53.80, -54.21) |
| CIE-LCH | lch(36.64, 76.37, 314.78°) |
| OKLab | oklab(47.78% 0.1163 -0.1539) |
| OKLCH | oklch(47.78% 0.193 307.1) |
| XYZ | xyz(16.8192, 9.3468, 41.4672) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.35
Rebeccapurple
#663399
ΔE00 4.52
Darkviolet
#9400D3
ΔE00 6.14
Darkorchid
#9932CC
ΔE00 6.65
Bluey Purple
#6241C7
ΔE00 7.04
Purply
#983FB2
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A30AF #65AF30
analogous
#3A30AF #7A30AF #AF30A4
triadic
#7A30AF #AF7A30 #30AF7A
tetradic
#7A30AF #AF3A30 #65AF30 #30A4AF
square
#7A30AF #AF3A30 #65AF30 #30A4AF
split-complementary
#7A30AF #A4AF30 #30AF3A
monochromatic
#37164F #59237F #7A30AF #994ECE #B47EDC
Accessibility & contrast
On white
7.32
#7A30AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#7A30AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A30AF
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A30AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A30AF | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#714E6D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7a30af; /* rgb */ color: rgb(122, 48, 175); /* oklch */ color: oklch(47.8% 0.193 307.1);
Tailwind
colors: {
custom: {
50: '#a56fc8',
500: '#7a30af',
950: '#000000',
},
}SCSS
$custom: #7a30af; $custom-light: #a56fc8; $custom-dark: #000000;
JSON
{
"hex": "#7a30af",
"rgb": {
"r": 122,
"g": 48,
"b": 175
},
"hsl": {
"h": 274.961,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.47779,
"c": 0.19289,
"h": 307.1
},
"luminance": 0.09347
}Semantic roles & 50–950 ramp
primary
#7A30AF
secondary
#97C476
accent
#E04887
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82