#7A3FB2#7A3FB2
#7A3FB2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.177 H 304.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7A3FB2 |
|---|---|
| RGB | rgb(122, 63, 178) |
| HSL | hsl(271, 48%, 47%) |
| HSV | hsv(271, 65%, 70%) |
| CMYK | cmyk(31.5%, 64.6%, 0%, 30.2%) |
| CIE-LAB | lab(39.42, 47.37, -51.49) |
| CIE-LCH | lch(39.42, 69.97, 312.61°) |
| OKLab | oklab(49.84% 0.0996 -0.146) |
| OKLCH | oklch(49.84% 0.177 304.3) |
| XYZ | xyz(17.8376, 10.9070, 43.2764) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.06
Rebeccapurple
#663399
ΔE00 5.66
Bluey Purple
#6241C7
ΔE00 5.88
Purply
#983FB2
ΔE00 6.12
Darkorchid
#9932CC
ΔE00 6.13
Purple (survey)
#7E1E9C
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A3FB2 #77B23F
analogous
#413FB2 #7A3FB2 #B23FB0
triadic
#7A3FB2 #B27A3F #3FB27A
tetradic
#7A3FB2 #B2413F #77B23F #3FB0B2
square
#7A3FB2 #B2413F #77B23F #3FB0B2
split-complementary
#7A3FB2 #B0B23F #3FB241
monochromatic
#3C1F58 #5B2F85 #7A3FB2 #9866C9 #B793D9
Accessibility & contrast
On white
6.60
#7A3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#7A3FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A3FB2
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A3FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A3FB2 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#1E5DAF
Tritanopia (blue-blind)
#705873
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7a3fb2; /* rgb */ color: rgb(122, 63, 178); /* oklch */ color: oklch(49.8% 0.177 304.3);
Tailwind
colors: {
custom: {
50: '#a578ca',
500: '#7a3fb2',
950: '#000000',
},
}SCSS
$custom: #7a3fb2; $custom-light: #a578ca; $custom-dark: #000000;
JSON
{
"hex": "#7a3fb2",
"rgb": {
"r": 122,
"g": 63,
"b": 178
},
"hsl": {
"h": 270.783,
"s": 47.718,
"l": 47.255
},
"oklch": {
"l": 0.49836,
"c": 0.1767,
"h": 304.3
},
"luminance": 0.10907
}Semantic roles & 50–950 ramp
primary
#7A3FB2
secondary
#A6C489
accent
#D75092
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82