#7D3EBC#7D3EBC
#7D3EBC is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.190 H 303.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7D3EBC |
|---|---|
| RGB | rgb(125, 62, 188) |
| HSL | hsl(270, 50%, 49%) |
| HSV | hsv(270, 67%, 74%) |
| CMYK | cmyk(33.5%, 67%, 0%, 26.3%) |
| CIE-LAB | lab(40.31, 50.96, -55.94) |
| CIE-LCH | lch(40.31, 75.67, 312.33°) |
| OKLab | oklab(50.77% 0.1038 -0.1589) |
| OKLCH | oklch(50.77% 0.19 303.2) |
| XYZ | xyz(19.2551, 11.4361, 48.7602) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.09
Bluey Purple
#6241C7
ΔE00 5.35
Blueviolet
#8A2BE2
ΔE00 5.55
Royal Purple
#7851A9
ΔE00 5.83
Purply
#983FB2
ΔE00 6.15
Darkviolet
#9400D3
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D3EBC #7DBC3E
analogous
#3E3EBC #7D3EBC #BC3EBC
triadic
#7D3EBC #BC7D3E #3EBC7D
tetradic
#7D3EBC #BC3E3E #7DBC3E #3EBCBC
square
#7D3EBC #BC3E3E #7DBC3E #3EBCBC
split-complementary
#7D3EBC #BCBC3E #3EBC3E
monochromatic
#402060 #5E2F8E #7D3EBC #9C6ACE #BA98DD
Accessibility & contrast
On white
6.39
#7D3EBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#7D3EBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D3EBC
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D3EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D3EBC | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#075FB9
Tritanopia (blue-blind)
#715A78
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7d3ebc; /* rgb */ color: rgb(125, 62, 188); /* oklch */ color: oklch(50.8% 0.190 303.2);
Tailwind
colors: {
custom: {
50: '#a778d1',
500: '#7d3ebc',
950: '#000000',
},
}SCSS
$custom: #7d3ebc; $custom-light: #a778d1; $custom-dark: #000000;
JSON
{
"hex": "#7d3ebc",
"rgb": {
"r": 125,
"g": 62,
"b": 188
},
"hsl": {
"h": 270,
"s": 50.4,
"l": 49.02
},
"oklch": {
"l": 0.50772,
"c": 0.18985,
"h": 303.2
},
"luminance": 0.11436
}Semantic roles & 50–950 ramp
primary
#7D3EBC
secondary
#ABC98D
accent
#DA4E94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82