#7946C6#7946C6
#7946C6 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.190 H 297.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7946C6 |
|---|---|
| RGB | rgb(121, 70, 198) |
| HSL | hsl(264, 53%, 53%) |
| HSV | hsv(264, 65%, 78%) |
| CMYK | cmyk(38.9%, 64.6%, 0%, 22.4%) |
| CIE-LAB | lab(42.03, 48.56, -58.99) |
| CIE-LCH | lch(42.03, 76.41, 309.46°) |
| OKLab | oklab(52.14% 0.0885 -0.1681) |
| OKLCH | oklch(52.14% 0.19 297.8) |
| XYZ | xyz(20.2658, 12.5222, 54.7644) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.24
Bluish Purple
#703BE7
ΔE00 5.02
Blueviolet
#8A2BE2
ΔE00 5.55
Royal Purple
#7851A9
ΔE00 5.74
Burple
#6832E3
ΔE00 5.99
Darkorchid
#9932CC
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7946C6 #93C646
analogous
#4653C6 #7946C6 #B946C6
triadic
#7946C6 #C67946 #46C679
tetradic
#7946C6 #C64653 #93C646 #46C6B9
square
#7946C6 #C64653 #93C646 #46C6B9
split-complementary
#7946C6 #C6B946 #53C646
monochromatic
#41226F #5C319E #7946C6 #9B75D4 #BDA4E3
Accessibility & contrast
On white
5.99
#7946C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#7946C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7946C6
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7946C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7946C6 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#676380
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7946c6; /* rgb */ color: rgb(121, 70, 198); /* oklch */ color: oklch(52.1% 0.190 297.8);
Tailwind
colors: {
custom: {
50: '#a57cd8',
500: '#7946c6',
950: '#000000',
},
}SCSS
$custom: #7946c6; $custom-light: #a57cd8; $custom-dark: #000000;
JSON
{
"hex": "#7946c6",
"rgb": {
"r": 121,
"g": 70,
"b": 198
},
"hsl": {
"h": 263.906,
"s": 52.893,
"l": 52.549
},
"oklch": {
"l": 0.52136,
"c": 0.18996,
"h": 297.8
},
"luminance": 0.12522
}Semantic roles & 50–950 ramp
primary
#7946C6
secondary
#BAD098
accent
#DC4BA3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83