#7D46CD#7D46CD
#7D46CD is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.1% C 0.199 H 298.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7D46CD |
|---|---|
| RGB | rgb(125, 70, 205) |
| HSL | hsl(264, 57%, 54%) |
| HSV | hsv(264, 66%, 80%) |
| CMYK | cmyk(39%, 65.9%, 0%, 19.6%) |
| CIE-LAB | lab(42.98, 51.18, -61.48) |
| CIE-LCH | lch(42.98, 80.00, 309.77°) |
| OKLab | oklab(53.08% 0.0932 -0.1753) |
| OKLCH | oklch(53.08% 0.199 298) |
| XYZ | xyz(21.6642, 13.1477, 59.1421) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.52
Blueviolet
#8A2BE2
ΔE00 4.85
Bluey Purple
#6241C7
ΔE00 4.89
Darkorchid
#9932CC
ΔE00 5.63
Purpley
#8756E4
ΔE00 5.79
Burple
#6832E3
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D46CD #96CD46
analogous
#4653CD #7D46CD #C046CD
triadic
#7D46CD #CD7D46 #46CD7D
tetradic
#7D46CD #CD4653 #96CD46 #46CDC0
square
#7D46CD #CD4653 #96CD46 #46CDC0
split-complementary
#7D46CD #CDC046 #53CD46
monochromatic
#442078 #602DA8 #7D46CD #9F76DA #C1A6E7
Accessibility & contrast
On white
5.79
#7D46CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#7D46CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D46CD
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D46CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D46CD | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#6A6583
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7d46cd; /* rgb */ color: rgb(125, 70, 205); /* oklch */ color: oklch(53.1% 0.199 298.0);
Tailwind
colors: {
custom: {
50: '#a87ddd',
500: '#7d46cd',
950: '#000000',
},
}SCSS
$custom: #7d46cd; $custom-light: #a87ddd; $custom-dark: #000000;
JSON
{
"hex": "#7d46cd",
"rgb": {
"r": 125,
"g": 70,
"b": 205
},
"hsl": {
"h": 264.444,
"s": 57.447,
"l": 53.922
},
"oklch": {
"l": 0.53081,
"c": 0.19852,
"h": 298
},
"luminance": 0.13148
}Semantic roles & 50–950 ramp
primary
#7D46CD
secondary
#BDD49B
accent
#E147A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83