#7A38BE#7A38BE
#7A38BE is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.199 H 302.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7A38BE |
|---|---|
| RGB | rgb(122, 56, 190) |
| HSL | hsl(270, 54%, 48%) |
| HSV | hsv(270, 71%, 75%) |
| CMYK | cmyk(35.8%, 70.5%, 0%, 25.5%) |
| CIE-LAB | lab(39.04, 53.72, -59.17) |
| CIE-LCH | lch(39.04, 79.92, 312.24°) |
| OKLab | oklab(49.83% 0.1057 -0.1685) |
| OKLCH | oklch(49.83% 0.199 302.1) |
| XYZ | xyz(18.7323, 10.6836, 49.7805) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.93
Blueviolet
#8A2BE2
ΔE00 5.18
Darkorchid
#9932CC
ΔE00 5.51
Darkviolet
#9400D3
ΔE00 5.75
Burple
#6832E3
ΔE00 5.87
Bluish Purple
#703BE7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A38BE #7CBE38
analogous
#3839BE #7A38BE #BD38BE
triadic
#7A38BE #BE7A38 #38BE7A
tetradic
#7A38BE #BE3839 #7CBE38 #38BEBD
square
#7A38BE #BE3839 #7CBE38 #38BEBD
split-complementary
#7A38BE #BEBD38 #39BE38
monochromatic
#3D1C5F #5C2A8F #7A38BE #9962D1 #B892DF
Accessibility & contrast
On white
6.69
#7A38BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#7A38BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A38BE
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A38BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A38BE | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#6C5877
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7a38be; /* rgb */ color: rgb(122, 56, 190); /* oklch */ color: oklch(49.8% 0.199 302.1);
Tailwind
colors: {
custom: {
50: '#a674d2',
500: '#7a38be',
950: '#000000',
},
}SCSS
$custom: #7a38be; $custom-light: #a674d2; $custom-dark: #000000;
JSON
{
"hex": "#7a38be",
"rgb": {
"r": 122,
"g": 56,
"b": 190
},
"hsl": {
"h": 269.552,
"s": 54.472,
"l": 48.235
},
"oklch": {
"l": 0.49834,
"c": 0.19896,
"h": 302.1
},
"luminance": 0.10684
}Semantic roles & 50–950 ramp
primary
#7A38BE
secondary
#A9CA88
accent
#DE4A95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83