#7C46CF#7C46CF
#7C46CF is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.1% C 0.201 H 297.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7C46CF |
|---|---|
| RGB | rgb(124, 70, 207) |
| HSL | hsl(264, 59%, 54%) |
| HSV | hsv(264, 66%, 81%) |
| CMYK | cmyk(40.1%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(43.02, 51.49, -62.59) |
| CIE-LCH | lch(43.02, 81.05, 309.45°) |
| OKLab | oklab(53.13% 0.0916 -0.1786) |
| OKLCH | oklch(53.13% 0.201 297.1) |
| XYZ | xyz(21.7619, 13.1700, 60.4149) |
| Luminance | 0.1317 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.20
Bluey Purple
#6241C7
ΔE00 4.74
Blueviolet
#8A2BE2
ΔE00 4.79
Burple
#6832E3
ΔE00 5.62
Purpley
#8756E4
ΔE00 5.67
Purpleish Blue
#6140EF
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C46CF #99CF46
analogous
#4655CF #7C46CF #C146CF
triadic
#7C46CF #CF7C46 #46CF7C
tetradic
#7C46CF #CF4655 #99CF46 #46CFC1
square
#7C46CF #CF4655 #99CF46 #46CFC1
split-complementary
#7C46CF #CFC146 #55CF46
monochromatic
#44207B #5E2CAB #7C46CF #9E77DC #C1A7E8
Accessibility & contrast
On white
5.78
#7C46CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#7C46CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C46CF
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C46CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C46CF | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#676685
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7c46cf; /* rgb */ color: rgb(124, 70, 207); /* oklch */ color: oklch(53.1% 0.201 297.1);
Tailwind
colors: {
custom: {
50: '#a87ddf',
500: '#7c46cf',
950: '#000000',
},
}SCSS
$custom: #7c46cf; $custom-light: #a87ddf; $custom-dark: #000000;
JSON
{
"hex": "#7c46cf",
"rgb": {
"r": 124,
"g": 70,
"b": 207
},
"hsl": {
"h": 263.65,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.53125,
"c": 0.20068,
"h": 297.1
},
"luminance": 0.1317
}Semantic roles & 50–950 ramp
primary
#7C46CF
secondary
#BFD59B
accent
#E246A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83