#7D41C3#7D41C3
#7D41C3 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.194 H 301.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7D41C3 |
|---|---|
| RGB | rgb(125, 65, 195) |
| HSL | hsl(268, 52%, 51%) |
| HSV | hsv(268, 67%, 76%) |
| CMYK | cmyk(35.9%, 66.7%, 0%, 23.5%) |
| CIE-LAB | lab(41.34, 51.19, -58.35) |
| CIE-LCH | lch(41.34, 77.62, 311.26°) |
| OKLab | oklab(51.68% 0.0997 -0.166) |
| OKLCH | oklch(51.68% 0.194 301) |
| XYZ | xyz(20.1957, 12.0806, 52.8870) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.88
Blueviolet
#8A2BE2
ΔE00 4.99
Darkorchid
#9932CC
ΔE00 5.07
Bluish Purple
#703BE7
ΔE00 5.49
Royal Purple
#7851A9
ΔE00 5.96
Burple
#6832E3
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D41C3 #87C341
analogous
#4146C3 #7D41C3 #BE41C3
triadic
#7D41C3 #C37D41 #41C37D
tetradic
#7D41C3 #C34146 #87C341 #41C3BE
square
#7D41C3 #C34146 #87C341 #41C3BE
split-complementary
#7D41C3 #C3BE41 #46C341
monochromatic
#422169 #5F3097 #7D41C3 #9D70D2 #BD9EE0
Accessibility & contrast
On white
6.15
#7D41C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#7D41C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D41C3
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D41C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D41C3 | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#6E5F7D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7d41c3; /* rgb */ color: rgb(125, 65, 195); /* oklch */ color: oklch(51.7% 0.194 301.0);
Tailwind
colors: {
custom: {
50: '#a87ad6',
500: '#7d41c3',
950: '#000000',
},
}SCSS
$custom: #7d41c3; $custom-light: #a87ad6; $custom-dark: #000000;
JSON
{
"hex": "#7d41c3",
"rgb": {
"r": 125,
"g": 65,
"b": 195
},
"hsl": {
"h": 267.692,
"s": 52,
"l": 50.98
},
"oklch": {
"l": 0.51675,
"c": 0.19369,
"h": 301
},
"luminance": 0.12081
}Semantic roles & 50–950 ramp
primary
#7D41C3
secondary
#B2CD93
accent
#DB4C99
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83