#7A43BA#7A43BA
#7A43BA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.180 H 301.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7A43BA |
|---|---|
| RGB | rgb(122, 67, 186) |
| HSL | hsl(268, 47%, 50%) |
| HSV | hsv(268, 64%, 73%) |
| CMYK | cmyk(34.4%, 64%, 0%, 27.1%) |
| CIE-LAB | lab(40.73, 47.28, -54.09) |
| CIE-LCH | lch(40.73, 71.84, 311.16°) |
| OKLab | oklab(50.95% 0.0943 -0.1536) |
| OKLCH | oklch(50.95% 0.18 301.5) |
| XYZ | xyz(18.8940, 11.6970, 47.7072) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.83
Bluey Purple
#6241C7
ΔE00 5.03
Darkorchid
#9932CC
ΔE00 5.90
Blueviolet
#8A2BE2
ΔE00 6.33
Purply
#983FB2
ΔE00 6.50
Bluish Purple
#703BE7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A43BA #83BA43
analogous
#4347BA #7A43BA #B643BA
triadic
#7A43BA #BA7A43 #43BA7A
tetradic
#7A43BA #BA4347 #83BA43 #43BAB6
square
#7A43BA #BA4347 #83BA43 #43BAB6
split-complementary
#7A43BA #BAB643 #47BA43
monochromatic
#3F2360 #5C338D #7A43BA #9A6FCB #B99CDB
Accessibility & contrast
On white
6.29
#7A43BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7A43BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A43BA
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A43BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A43BA | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#165FB7
Tritanopia (blue-blind)
#6D5D78
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7a43ba; /* rgb */ color: rgb(122, 67, 186); /* oklch */ color: oklch(51.0% 0.180 301.5);
Tailwind
colors: {
custom: {
50: '#a57acf',
500: '#7a43ba',
950: '#000000',
},
}SCSS
$custom: #7a43ba; $custom-light: #a57acf; $custom-dark: #000000;
JSON
{
"hex": "#7a43ba",
"rgb": {
"r": 122,
"g": 67,
"b": 186
},
"hsl": {
"h": 267.731,
"s": 47.036,
"l": 49.608
},
"oklch": {
"l": 0.50954,
"c": 0.18026,
"h": 301.5
},
"luminance": 0.11697
}Semantic roles & 50–950 ramp
primary
#7A43BA
secondary
#AEC891
accent
#D75199
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82