#7B46CE#7B46CE
#7B46CE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.199 H 296.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7B46CE |
|---|---|
| RGB | rgb(123, 70, 206) |
| HSL | hsl(263, 58%, 54%) |
| HSV | hsv(263, 66%, 81%) |
| CMYK | cmyk(40.3%, 66%, 0%, 19.2%) |
| CIE-LAB | lab(42.83, 51.04, -62.32) |
| CIE-LCH | lch(42.83, 80.55, 309.32°) |
| OKLab | oklab(52.95% 0.0903 -0.1778) |
| OKLCH | oklch(52.95% 0.199 296.9) |
| XYZ | xyz(21.4962, 13.0471, 59.7663) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.21
Bluey Purple
#6241C7
ΔE00 4.55
Blueviolet
#8A2BE2
ΔE00 4.90
Burple
#6832E3
ΔE00 5.57
Purpleish Blue
#6140EF
ΔE00 5.82
Purpley
#8756E4
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B46CE #99CE46
analogous
#4655CE #7B46CE #BF46CE
triadic
#7B46CE #CE7B46 #46CE7B
tetradic
#7B46CE #CE4655 #99CE46 #46CEBF
square
#7B46CE #CE4655 #99CE46 #46CEBF
split-complementary
#7B46CE #CEBF46 #55CE46
monochromatic
#432079 #5E2DAA #7B46CE #9E76DB #C0A7E8
Accessibility & contrast
On white
5.82
#7B46CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#7B46CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B46CE
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B46CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B46CE | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#666684
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7b46ce; /* rgb */ color: rgb(123, 70, 206); /* oklch */ color: oklch(52.9% 0.199 296.9);
Tailwind
colors: {
custom: {
50: '#a77dde',
500: '#7b46ce',
950: '#000000',
},
}SCSS
$custom: #7b46ce; $custom-light: #a77dde; $custom-dark: #000000;
JSON
{
"hex": "#7b46ce",
"rgb": {
"r": 123,
"g": 70,
"b": 206
},
"hsl": {
"h": 263.382,
"s": 58.12,
"l": 54.118
},
"oklch": {
"l": 0.52945,
"c": 0.19943,
"h": 296.9
},
"luminance": 0.13048
}Semantic roles & 50–950 ramp
primary
#7B46CE
secondary
#BED59B
accent
#E146A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83