#7D3DBA#7D3DBA
#7D3DBA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.189 H 303.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7D3DBA |
|---|---|
| RGB | rgb(125, 61, 186) |
| HSL | hsl(271, 51%, 48%) |
| HSV | hsv(271, 67%, 73%) |
| CMYK | cmyk(32.8%, 67.2%, 0%, 27.1%) |
| CIE-LAB | lab(39.99, 50.97, -55.28) |
| CIE-LCH | lch(39.99, 75.19, 312.68°) |
| OKLab | oklab(50.5% 0.1052 -0.157) |
| OKLCH | oklch(50.5% 0.189 303.8) |
| XYZ | xyz(18.9871, 11.2427, 47.6146) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.16
Bluey Purple
#6241C7
ΔE00 5.55
Blueviolet
#8A2BE2
ΔE00 5.76
Royal Purple
#7851A9
ΔE00 5.87
Purply
#983FB2
ΔE00 6.05
Darkviolet
#9400D3
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D3DBA #7ABA3D
analogous
#3E3DBA #7D3DBA #BA3DB8
triadic
#7D3DBA #BA7D3D #3DBA7D
tetradic
#7D3DBA #BA3E3D #7ABA3D #3DB8BA
square
#7D3DBA #BA3E3D #7ABA3D #3DB8BA
split-complementary
#7D3DBA #B8BA3D #3DBA3E
monochromatic
#3F1F5E #5E2E8C #7D3DBA #9B67CD #BA95DC
Accessibility & contrast
On white
6.46
#7D3DBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#7D3DBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D3DBA
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D3DBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D3DBA | 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)
#005DBE
Deuteranopia (green-blind)
#0C5EB7
Tritanopia (blue-blind)
#715976
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7d3dba; /* rgb */ color: rgb(125, 61, 186); /* oklch */ color: oklch(50.5% 0.189 303.8);
Tailwind
colors: {
custom: {
50: '#a777cf',
500: '#7d3dba',
950: '#000000',
},
}SCSS
$custom: #7d3dba; $custom-light: #a777cf; $custom-dark: #000000;
JSON
{
"hex": "#7d3dba",
"rgb": {
"r": 125,
"g": 61,
"b": 186
},
"hsl": {
"h": 270.72,
"s": 50.607,
"l": 48.431
},
"oklch": {
"l": 0.50498,
"c": 0.18897,
"h": 303.8
},
"luminance": 0.11243
}Semantic roles & 50–950 ramp
primary
#7D3DBA
secondary
#A9C88B
accent
#DA4E92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82