#7946C5#7946C5
#7946C5 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.189 H 298.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7946C5 |
|---|---|
| RGB | rgb(121, 70, 197) |
| HSL | hsl(264, 52%, 52%) |
| HSV | hsv(264, 64%, 77%) |
| CMYK | cmyk(38.6%, 64.5%, 0%, 22.7%) |
| CIE-LAB | lab(41.96, 48.30, -58.53) |
| CIE-LCH | lch(41.96, 75.88, 309.53°) |
| OKLab | oklab(52.06% 0.0886 -0.1667) |
| OKLCH | oklch(52.06% 0.189 298) |
| XYZ | xyz(20.1508, 12.4762, 54.1590) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.27
Bluish Purple
#703BE7
ΔE00 5.15
Royal Purple
#7851A9
ΔE00 5.62
Blueviolet
#8A2BE2
ΔE00 5.63
Burple
#6832E3
ΔE00 6.09
Darkorchid
#9932CC
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7946C5 #92C546
analogous
#4653C5 #7946C5 #B846C5
triadic
#7946C5 #C57946 #46C579
tetradic
#7946C5 #C54653 #92C546 #46C5B8
square
#7946C5 #C54653 #92C546 #46C5B8
split-complementary
#7946C5 #C5B846 #53C546
monochromatic
#41236E #5C319D #7946C5 #9B75D4 #BCA3E2
Accessibility & contrast
On white
6.01
#7946C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#7946C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7946C5
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7946C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7946C5 | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#67637F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7946c5; /* rgb */ color: rgb(121, 70, 197); /* oklch */ color: oklch(52.1% 0.189 298.0);
Tailwind
colors: {
custom: {
50: '#a57cd7',
500: '#7946c5',
950: '#000000',
},
}SCSS
$custom: #7946c5; $custom-light: #a57cd7; $custom-dark: #000000;
JSON
{
"hex": "#7946c5",
"rgb": {
"r": 121,
"g": 70,
"b": 197
},
"hsl": {
"h": 264.094,
"s": 52.263,
"l": 52.353
},
"oklch": {
"l": 0.52062,
"c": 0.18879,
"h": 298
},
"luminance": 0.12476
}Semantic roles & 50–950 ramp
primary
#7946C5
secondary
#B9CF98
accent
#DC4CA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83