#7A39BE#7A39BE
#7A39BE is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.198 H 302.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7A39BE |
|---|---|
| RGB | rgb(122, 57, 190) |
| HSL | hsl(269, 54%, 48%) |
| HSV | hsv(269, 70%, 75%) |
| CMYK | cmyk(35.8%, 70%, 0%, 25.5%) |
| CIE-LAB | lab(39.21, 53.25, -58.90) |
| CIE-LCH | lch(39.21, 79.41, 312.12°) |
| OKLab | oklab(49.95% 0.1047 -0.1677) |
| OKLCH | oklch(49.95% 0.198 302) |
| XYZ | xyz(18.7812, 10.7815, 49.7968) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.87
Blueviolet
#8A2BE2
ΔE00 5.20
Darkorchid
#9932CC
ΔE00 5.49
Darkviolet
#9400D3
ΔE00 5.87
Burple
#6832E3
ΔE00 5.90
Bluish Purple
#703BE7
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A39BE #7DBE39
analogous
#393BBE #7A39BE #BC39BE
triadic
#7A39BE #BE7A39 #39BE7A
tetradic
#7A39BE #BE393B #7DBE39 #39BEBC
square
#7A39BE #BE393B #7DBE39 #39BEBC
split-complementary
#7A39BE #BEBC39 #3BBE39
monochromatic
#3E1D60 #5C2B8F #7A39BE #9964D0 #B893DF
Accessibility & contrast
On white
6.65
#7A39BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#7A39BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A39BE
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A39BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A39BE | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#6C5977
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7a39be; /* rgb */ color: rgb(122, 57, 190); /* oklch */ color: oklch(50.0% 0.198 302.0);
Tailwind
colors: {
custom: {
50: '#a675d2',
500: '#7a39be',
950: '#000000',
},
}SCSS
$custom: #7a39be; $custom-light: #a675d2; $custom-dark: #000000;
JSON
{
"hex": "#7a39be",
"rgb": {
"r": 122,
"g": 57,
"b": 190
},
"hsl": {
"h": 269.323,
"s": 53.846,
"l": 48.431
},
"oklch": {
"l": 0.49953,
"c": 0.19775,
"h": 302
},
"luminance": 0.10782
}Semantic roles & 50–950 ramp
primary
#7A39BE
secondary
#AACA89
accent
#DD4B96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83