#7A38C2#7A38C2
#7A38C2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.1% C 0.203 H 301.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7A38C2 |
|---|---|
| RGB | rgb(122, 56, 194) |
| HSL | hsl(269, 55%, 49%) |
| HSV | hsv(269, 71%, 76%) |
| CMYK | cmyk(37.1%, 71.1%, 0%, 23.9%) |
| CIE-LAB | lab(39.34, 54.69, -61.02) |
| CIE-LCH | lch(39.34, 81.95, 311.87°) |
| OKLab | oklab(50.14% 0.105 -0.174) |
| OKLCH | oklch(50.14% 0.203 301.1) |
| XYZ | xyz(19.1754, 10.8608, 52.1146) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.66
Blueviolet
#8A2BE2
ΔE00 4.70
Burple
#6832E3
ΔE00 5.35
Darkorchid
#9932CC
ΔE00 5.43
Bluish Purple
#703BE7
ΔE00 5.47
Darkviolet
#9400D3
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A38C2 #80C238
analogous
#383BC2 #7A38C2 #BF38C2
triadic
#7A38C2 #C27A38 #38C27A
tetradic
#7A38C2 #C2383B #80C238 #38C2BF
square
#7A38C2 #C2383B #80C238 #38C2BF
split-complementary
#7A38C2 #C2BF38 #3BC238
monochromatic
#3E1D63 #5C2A93 #7A38C2 #9965D2 #B994E0
Accessibility & contrast
On white
6.62
#7A38C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#7A38C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A38C2
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A38C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A38C2 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#6A5A79
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7a38c2; /* rgb */ color: rgb(122, 56, 194); /* oklch */ color: oklch(50.1% 0.203 301.1);
Tailwind
colors: {
custom: {
50: '#a674d5',
500: '#7a38c2',
950: '#000000',
},
}SCSS
$custom: #7a38c2; $custom-light: #a674d5; $custom-dark: #000000;
JSON
{
"hex": "#7a38c2",
"rgb": {
"r": 122,
"g": 56,
"b": 194
},
"hsl": {
"h": 268.696,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.50144,
"c": 0.20323,
"h": 301.1
},
"luminance": 0.10861
}Semantic roles & 50–950 ramp
primary
#7A38C2
secondary
#ACCB8A
accent
#DF4997
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83