#7D38C2#7D38C2
#7D38C2 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.204 H 302.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7D38C2 |
|---|---|
| RGB | rgb(125, 56, 194) |
| HSL | hsl(270, 55%, 49%) |
| HSV | hsv(270, 71%, 76%) |
| CMYK | cmyk(35.6%, 71.1%, 0%, 23.9%) |
| CIE-LAB | lab(39.72, 55.26, -60.40) |
| CIE-LCH | lch(39.72, 81.86, 312.46°) |
| OKLab | oklab(50.49% 0.1092 -0.172) |
| OKLCH | oklch(50.49% 0.204 302.4) |
| XYZ | xyz(19.6069, 11.0833, 52.1348) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.52
Darkorchid
#9932CC
ΔE00 4.91
Bluey Purple
#6241C7
ΔE00 5.13
Darkviolet
#9400D3
ΔE00 5.34
Bluish Purple
#703BE7
ΔE00 5.68
Burple
#6832E3
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D38C2 #7DC238
analogous
#3838C2 #7D38C2 #C238C2
triadic
#7D38C2 #C27D38 #38C27D
tetradic
#7D38C2 #C23838 #7DC238 #38C2C2
square
#7D38C2 #C23838 #7DC238 #38C2C2
split-complementary
#7D38C2 #C2C238 #38C238
monochromatic
#401D63 #5E2A93 #7D38C2 #9C65D2 #BA94E0
Accessibility & contrast
On white
6.53
#7D38C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#7D38C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D38C2
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D38C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D38C2 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#6F5979
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7d38c2; /* rgb */ color: rgb(125, 56, 194); /* oklch */ color: oklch(50.5% 0.204 302.4);
Tailwind
colors: {
custom: {
50: '#a874d5',
500: '#7d38c2',
950: '#000000',
},
}SCSS
$custom: #7d38c2; $custom-light: #a874d5; $custom-dark: #000000;
JSON
{
"hex": "#7d38c2",
"rgb": {
"r": 125,
"g": 56,
"b": 194
},
"hsl": {
"h": 270,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.50493,
"c": 0.20377,
"h": 302.4
},
"luminance": 0.11083
}Semantic roles & 50–950 ramp
primary
#7D38C2
secondary
#ABCB8A
accent
#DF4994
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83