#7D3CAC#7D3CAC
#7D3CAC is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.175 H 307.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7D3CAC |
|---|---|
| RGB | rgb(125, 60, 172) |
| HSL | hsl(275, 48%, 45%) |
| HSV | hsv(275, 65%, 67%) |
| CMYK | cmyk(27.3%, 65.1%, 0%, 32.5%) |
| CIE-LAB | lab(38.85, 48.14, -48.84) |
| CIE-LCH | lch(38.85, 68.57, 314.58°) |
| OKLab | oklab(49.37% 0.1076 -0.1381) |
| OKLCH | oklch(49.37% 0.175 307.9) |
| XYZ | xyz(17.5182, 10.5705, 40.1392) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.27
Purply
#983FB2
ΔE00 5.48
Royal Purple
#7851A9
ΔE00 5.53
Purple (survey)
#7E1E9C
ΔE00 5.80
Darkorchid
#9932CC
ΔE00 6.18
Bluey Purple
#6241C7
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D3CAC #6BAC3C
analogous
#453CAC #7D3CAC #AC3CA3
triadic
#7D3CAC #AC7D3C #3CAC7D
tetradic
#7D3CAC #AC453C #6BAC3C #3CA3AC
square
#7D3CAC #AC453C #6BAC3C #3CA3AC
split-complementary
#7D3CAC #A3AC3C #3CAC45
monochromatic
#3B1C51 #5C2C7F #7D3CAC #9B5EC7 #B78CD7
Accessibility & contrast
On white
6.74
#7D3CAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#7D3CAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D3CAC
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D3CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D3CAC | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#275CA9
Tritanopia (blue-blind)
#76536F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7d3cac; /* rgb */ color: rgb(125, 60, 172); /* oklch */ color: oklch(49.4% 0.175 307.9);
Tailwind
colors: {
custom: {
50: '#a676c5',
500: '#7d3cac',
950: '#000000',
},
}SCSS
$custom: #7d3cac; $custom-light: #a676c5; $custom-dark: #000000;
JSON
{
"hex": "#7d3cac",
"rgb": {
"r": 125,
"g": 60,
"b": 172
},
"hsl": {
"h": 274.821,
"s": 48.276,
"l": 45.49
},
"oklch": {
"l": 0.49374,
"c": 0.17505,
"h": 307.9
},
"luminance": 0.1057
}Semantic roles & 50–950 ramp
primary
#7D3CAC
secondary
#9DC182
accent
#D85089
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82