#7B46DB#7B46DB
#7B46DB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.214 H 294.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7B46DB |
|---|---|
| RGB | rgb(123, 70, 219) |
| HSL | hsl(261, 67%, 57%) |
| HSV | hsv(261, 68%, 86%) |
| CMYK | cmyk(43.8%, 68%, 0%, 14.1%) |
| CIE-LAB | lab(43.81, 54.43, -68.20) |
| CIE-LCH | lch(43.81, 87.25, 308.59°) |
| OKLab | oklab(53.95% 0.0885 -0.1951) |
| OKLCH | oklch(53.95% 0.214 294.4) |
| XYZ | xyz(23.1413, 13.7051, 68.4302) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.13
Blueviolet
#8A2BE2
ΔE00 4.56
Purpleish Blue
#6140EF
ΔE00 4.60
Purpley
#8756E4
ΔE00 4.90
Burple
#6832E3
ΔE00 5.09
Bluey Purple
#6241C7
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B46DB #A6DB46
analogous
#465CDB #7B46DB #C546DB
triadic
#7B46DB #DB7B46 #46DB7B
tetradic
#7B46DB #DB465C #A6DB46 #46DBC5
square
#7B46DB #DB465C #A6DB46 #46DBC5
split-complementary
#7B46DB #DBC546 #5CDB46
monochromatic
#431B8B #5C25BF #7B46DB #A079E5 #C4ACEF
Accessibility & contrast
On white
5.61
#7B46DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#7B46DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B46DB
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B46DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B46DB | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#606B8B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7b46db; /* rgb */ color: rgb(123, 70, 219); /* oklch */ color: oklch(53.9% 0.214 294.4);
Tailwind
colors: {
custom: {
50: '#a97de7',
500: '#7b46db',
950: '#000000',
},
}SCSS
$custom: #7b46db; $custom-light: #a97de7; $custom-dark: #000000;
JSON
{
"hex": "#7b46db",
"rgb": {
"r": 123,
"g": 70,
"b": 219
},
"hsl": {
"h": 261.342,
"s": 67.421,
"l": 56.667
},
"oklch": {
"l": 0.53947,
"c": 0.21423,
"h": 294.4
},
"luminance": 0.13706
}Semantic roles & 50–950 ramp
primary
#7B46DB
secondary
#C7DDA0
accent
#EA3DAD
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84