#7D34C3#7D34C3
#7D34C3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.209 H 302.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7D34C3 |
|---|---|
| RGB | rgb(125, 52, 195) |
| HSL | hsl(271, 58%, 48%) |
| HSV | hsv(271, 73%, 76%) |
| CMYK | cmyk(35.9%, 73.3%, 0%, 23.5%) |
| CIE-LAB | lab(39.17, 57.28, -61.88) |
| CIE-LCH | lch(39.17, 84.32, 312.79°) |
| OKLab | oklab(50.12% 0.1129 -0.1764) |
| OKLCH | oklch(50.12% 0.209 302.6) |
| XYZ | xyz(19.5334, 10.7561, 52.6662) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.37
Darkviolet
#9400D3
ΔE00 4.83
Darkorchid
#9932CC
ΔE00 5.01
Bluey Purple
#6241C7
ΔE00 5.33
Burple
#6832E3
ΔE00 5.49
Bluish Purple
#703BE7
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D34C3 #7AC334
analogous
#3534C3 #7D34C3 #C334C1
triadic
#7D34C3 #C37D34 #34C37D
tetradic
#7D34C3 #C33534 #7AC334 #34C1C3
square
#7D34C3 #C33534 #7AC334 #34C1C3
split-complementary
#7D34C3 #C1C334 #34C335
monochromatic
#3F1A62 #5E2793 #7D34C3 #9B60D5 #BA90E1
Accessibility & contrast
On white
6.66
#7D34C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#7D34C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D34C3
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D34C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D34C3 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#6E5779
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7d34c3; /* rgb */ color: rgb(125, 52, 195); /* oklch */ color: oklch(50.1% 0.209 302.6);
Tailwind
colors: {
custom: {
50: '#a972d6',
500: '#7d34c3',
950: '#000000',
},
}SCSS
$custom: #7d34c3; $custom-light: #a972d6; $custom-dark: #000000;
JSON
{
"hex": "#7d34c3",
"rgb": {
"r": 125,
"g": 52,
"b": 195
},
"hsl": {
"h": 270.629,
"s": 57.895,
"l": 48.431
},
"oklch": {
"l": 0.50124,
"c": 0.2094,
"h": 302.6
},
"luminance": 0.10756
}Semantic roles & 50–950 ramp
primary
#7D34C3
secondary
#A9CC87
accent
#E14792
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83