#7D38C6#7D38C6
#7D38C6 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.208 H 301.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7D38C6 |
|---|---|
| RGB | rgb(125, 56, 198) |
| HSL | hsl(269, 56%, 50%) |
| HSV | hsv(269, 72%, 78%) |
| CMYK | cmyk(36.9%, 71.7%, 0%, 22.4%) |
| CIE-LAB | lab(40.02, 56.22, -62.24) |
| CIE-LCH | lch(40.02, 83.87, 312.09°) |
| OKLab | oklab(50.8% 0.1085 -0.1774) |
| OKLCH | oklch(50.8% 0.208 301.4) |
| XYZ | xyz(20.0622, 11.2654, 54.5326) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.04
Darkorchid
#9932CC
ΔE00 4.87
Bluey Purple
#6241C7
ΔE00 4.93
Bluish Purple
#703BE7
ΔE00 5.11
Burple
#6832E3
ΔE00 5.21
Darkviolet
#9400D3
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D38C6 #81C638
analogous
#383AC6 #7D38C6 #C438C6
triadic
#7D38C6 #C67D38 #38C67D
tetradic
#7D38C6 #C6383A #81C638 #38C6C4
square
#7D38C6 #C6383A #81C638 #38C6C4
split-complementary
#7D38C6 #C6C438 #3AC638
monochromatic
#411D67 #5F2B96 #7D38C6 #9C67D4 #BB97E2
Accessibility & contrast
On white
6.46
#7D38C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#7D38C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D38C6
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D38C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D38C6 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#6D5B7C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7d38c6; /* rgb */ color: rgb(125, 56, 198); /* oklch */ color: oklch(50.8% 0.208 301.4);
Tailwind
colors: {
custom: {
50: '#a975d8',
500: '#7d38c6',
950: '#000000',
},
}SCSS
$custom: #7d38c6; $custom-light: #a975d8; $custom-dark: #000000;
JSON
{
"hex": "#7d38c6",
"rgb": {
"r": 125,
"g": 56,
"b": 198
},
"hsl": {
"h": 269.155,
"s": 55.906,
"l": 49.804
},
"oklch": {
"l": 0.50803,
"c": 0.20798,
"h": 301.4
},
"luminance": 0.11266
}Semantic roles & 50–950 ramp
primary
#7D38C6
secondary
#AECD8D
accent
#DF4996
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83