#7C46CE#7C46CE
#7C46CE is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.0% C 0.200 H 297.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7C46CE |
|---|---|
| RGB | rgb(124, 70, 206) |
| HSL | hsl(264, 58%, 54%) |
| HSV | hsv(264, 66%, 81%) |
| CMYK | cmyk(39.8%, 66%, 0%, 19.2%) |
| CIE-LAB | lab(42.95, 51.24, -62.13) |
| CIE-LCH | lch(42.95, 80.53, 309.51°) |
| OKLab | oklab(53.05% 0.0917 -0.1772) |
| OKLCH | oklch(53.05% 0.2 297.3) |
| XYZ | xyz(21.6401, 13.1213, 59.7731) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.31
Bluey Purple
#6241C7
ΔE00 4.72
Blueviolet
#8A2BE2
ΔE00 4.84
Burple
#6832E3
ΔE00 5.68
Purpley
#8756E4
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C46CE #98CE46
analogous
#4654CE #7C46CE #C046CE
triadic
#7C46CE #CE7C46 #46CE7C
tetradic
#7C46CE #CE4654 #98CE46 #46CEC0
square
#7C46CE #CE4654 #98CE46 #46CEC0
split-complementary
#7C46CE #CEC046 #54CE46
monochromatic
#442079 #5F2DAA #7C46CE #9E76DB #C1A7E8
Accessibility & contrast
On white
5.79
#7C46CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#7C46CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C46CE
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C46CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C46CE | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#686684
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7c46ce; /* rgb */ color: rgb(124, 70, 206); /* oklch */ color: oklch(53.0% 0.200 297.3);
Tailwind
colors: {
custom: {
50: '#a87dde',
500: '#7c46ce',
950: '#000000',
},
}SCSS
$custom: #7c46ce; $custom-light: #a87dde; $custom-dark: #000000;
JSON
{
"hex": "#7c46ce",
"rgb": {
"r": 124,
"g": 70,
"b": 206
},
"hsl": {
"h": 263.824,
"s": 58.12,
"l": 54.118
},
"oklch": {
"l": 0.5305,
"c": 0.19953,
"h": 297.3
},
"luminance": 0.13122
}Semantic roles & 50–950 ramp
primary
#7C46CE
secondary
#BED59B
accent
#E146A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83