#7D46C2#7D46C2
#7D46C2 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.186 H 300.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7D46C2 |
|---|---|
| RGB | rgb(125, 70, 194) |
| HSL | hsl(267, 50%, 52%) |
| HSV | hsv(267, 64%, 76%) |
| CMYK | cmyk(35.6%, 63.9%, 0%, 23.9%) |
| CIE-LAB | lab(42.21, 48.38, -56.36) |
| CIE-LCH | lch(42.21, 74.28, 310.64°) |
| OKLab | oklab(52.28% 0.0943 -0.1602) |
| OKLCH | oklch(52.28% 0.186 300.5) |
| XYZ | xyz(20.3828, 12.6352, 52.3935) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.14
Royal Purple
#7851A9
ΔE00 5.16
Darkorchid
#9932CC
ΔE00 5.51
Blueviolet
#8A2BE2
ΔE00 5.72
Bluish Purple
#703BE7
ΔE00 5.89
Purply
#983FB2
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D46C2 #8BC246
analogous
#464DC2 #7D46C2 #BB46C2
triadic
#7D46C2 #C27D46 #46C27D
tetradic
#7D46C2 #C2464D #8BC246 #46C2BB
square
#7D46C2 #C2464D #8BC246 #46C2BB
split-complementary
#7D46C2 #C2BB46 #4DC246
monochromatic
#43236A #603299 #7D46C2 #9D74D1 #BEA2E0
Accessibility & contrast
On white
5.95
#7D46C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#7D46C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D46C2
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D46C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D46C2 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#1063BF
Tritanopia (blue-blind)
#6E617E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7d46c2; /* rgb */ color: rgb(125, 70, 194); /* oklch */ color: oklch(52.3% 0.186 300.5);
Tailwind
colors: {
custom: {
50: '#a77dd5',
500: '#7d46c2',
950: '#000000',
},
}SCSS
$custom: #7d46c2; $custom-light: #a77dd5; $custom-dark: #000000;
JSON
{
"hex": "#7d46c2",
"rgb": {
"r": 125,
"g": 70,
"b": 194
},
"hsl": {
"h": 266.613,
"s": 50.407,
"l": 51.765
},
"oklch": {
"l": 0.52275,
"c": 0.1859,
"h": 300.5
},
"luminance": 0.12635
}Semantic roles & 50–950 ramp
primary
#7D46C2
secondary
#B5CD97
accent
#DA4E9C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83