#7A39BF#7A39BF
#7A39BF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.199 H 301.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7A39BF |
|---|---|
| RGB | rgb(122, 57, 191) |
| HSL | hsl(269, 54%, 49%) |
| HSV | hsv(269, 70%, 75%) |
| CMYK | cmyk(36.1%, 70.2%, 0%, 25.1%) |
| CIE-LAB | lab(39.28, 53.50, -59.37) |
| CIE-LCH | lch(39.28, 79.91, 312.02°) |
| OKLab | oklab(50.03% 0.1046 -0.1691) |
| OKLCH | oklch(50.03% 0.199 301.7) |
| XYZ | xyz(18.8909, 10.8253, 50.3744) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.79
Blueviolet
#8A2BE2
ΔE00 5.08
Darkorchid
#9932CC
ΔE00 5.47
Burple
#6832E3
ΔE00 5.77
Darkviolet
#9400D3
ΔE00 5.83
Bluish Purple
#703BE7
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A39BF #7EBF39
analogous
#393BBF #7A39BF #BD39BF
triadic
#7A39BF #BF7A39 #39BF7A
tetradic
#7A39BF #BF393B #7EBF39 #39BFBD
square
#7A39BF #BF393B #7EBF39 #39BFBD
split-complementary
#7A39BF #BFBD39 #3BBF39
monochromatic
#3E1D61 #5C2B90 #7A39BF #9964D1 #B893DF
Accessibility & contrast
On white
6.64
#7A39BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#7A39BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A39BF
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A39BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A39BF | 1.00 | 6.64 | 3.17 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#6B5978
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7a39bf; /* rgb */ color: rgb(122, 57, 191); /* oklch */ color: oklch(50.0% 0.199 301.7);
Tailwind
colors: {
custom: {
50: '#a675d3',
500: '#7a39bf',
950: '#000000',
},
}SCSS
$custom: #7a39bf; $custom-light: #a675d3; $custom-dark: #000000;
JSON
{
"hex": "#7a39bf",
"rgb": {
"r": 122,
"g": 57,
"b": 191
},
"hsl": {
"h": 269.104,
"s": 54.032,
"l": 48.627
},
"oklch": {
"l": 0.5003,
"c": 0.19882,
"h": 301.7
},
"luminance": 0.10825
}Semantic roles & 50–950 ramp
primary
#7A39BF
secondary
#ABCA8A
accent
#DD4A96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83