#7C46DB#7C46DB
#7C46DB is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.214 H 294.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7C46DB |
|---|---|
| RGB | rgb(124, 70, 219) |
| HSL | hsl(262, 67%, 57%) |
| HSV | hsv(262, 68%, 86%) |
| CMYK | cmyk(43.4%, 68%, 0%, 14.1%) |
| CIE-LAB | lab(43.91, 54.61, -68.02) |
| CIE-LCH | lch(43.91, 87.23, 308.76°) |
| OKLab | oklab(54.05% 0.0899 -0.1945) |
| OKLCH | oklch(54.05% 0.214 294.8) |
| XYZ | xyz(23.2851, 13.7793, 68.4369) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.24
Blueviolet
#8A2BE2
ΔE00 4.50
Purpleish Blue
#6140EF
ΔE00 4.74
Purpley
#8756E4
ΔE00 4.81
Burple
#6832E3
ΔE00 5.20
Bluey Purple
#6241C7
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C46DB #A5DB46
analogous
#465BDB #7C46DB #C746DB
triadic
#7C46DB #DB7C46 #46DB7C
tetradic
#7C46DB #DB465B #A5DB46 #46DBC7
square
#7C46DB #DB465B #A5DB46 #46DBC7
split-complementary
#7C46DB #DBC746 #5BDB46
monochromatic
#441B8B #5D25BF #7C46DB #A079E5 #C5ACEF
Accessibility & contrast
On white
5.59
#7C46DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#7C46DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C46DB
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C46DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C46DB | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#626B8B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7c46db; /* rgb */ color: rgb(124, 70, 219); /* oklch */ color: oklch(54.0% 0.214 294.8);
Tailwind
colors: {
custom: {
50: '#a97de7',
500: '#7c46db',
950: '#000000',
},
}SCSS
$custom: #7c46db; $custom-light: #a97de7; $custom-dark: #000000;
JSON
{
"hex": "#7c46db",
"rgb": {
"r": 124,
"g": 70,
"b": 219
},
"hsl": {
"h": 261.745,
"s": 67.421,
"l": 56.667
},
"oklch": {
"l": 0.54049,
"c": 0.21429,
"h": 294.8
},
"luminance": 0.1378
}Semantic roles & 50–950 ramp
primary
#7C46DB
secondary
#C7DDA0
accent
#EA3DAC
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84