#7946E9#7946E9
#7946E9 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.230 H 291.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7946E9 |
|---|---|
| RGB | rgb(121, 70, 233) |
| HSL | hsl(259, 79%, 59%) |
| HSV | hsv(259, 70%, 91%) |
| CMYK | cmyk(48.1%, 70%, 0%, 8.6%) |
| CIE-LAB | lab(44.70, 57.78, -74.71) |
| CIE-LCH | lch(44.70, 94.44, 307.72°) |
| OKLab | oklab(54.88% 0.0833 -0.2143) |
| OKLCH | oklch(54.88% 0.23 291.2) |
| XYZ | xyz(24.7791, 14.3275, 78.5349) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.87
Purpleish Blue
#6140EF
ΔE00 3.70
Purpley
#8756E4
ΔE00 4.63
Blueviolet
#8A2BE2
ΔE00 5.07
Burple
#6832E3
ΔE00 5.18
Purpley Blue
#5F34E7
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7946E9 #B6E946
analogous
#4665E9 #7946E9 #CB46E9
triadic
#7946E9 #E97946 #46E979
tetradic
#7946E9 #E94665 #B6E946 #46E9CB
square
#7946E9 #E94665 #B6E946 #46E9CB
split-complementary
#7946E9 #E9CB46 #65E946
monochromatic
#4013A1 #551AD8 #7946E9 #A17DF0 #C8B3F6
Accessibility & contrast
On white
5.43
#7946E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#7946E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7946E9
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7946E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7946E9 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEE
Deuteranopia (green-blind)
#0066E6
Tritanopia (blue-blind)
#547093
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7946e9; /* rgb */ color: rgb(121, 70, 233); /* oklch */ color: oklch(54.9% 0.230 291.2);
Tailwind
colors: {
custom: {
50: '#a97df1',
500: '#7946e9',
950: '#000000',
},
}SCSS
$custom: #7946e9; $custom-light: #a97df1; $custom-dark: #000000;
JSON
{
"hex": "#7946e9",
"rgb": {
"r": 121,
"g": 70,
"b": 233
},
"hsl": {
"h": 258.773,
"s": 78.744,
"l": 59.412
},
"oklch": {
"l": 0.54877,
"c": 0.2299,
"h": 291.2
},
"luminance": 0.14328
}Semantic roles & 50–950 ramp
primary
#7946E9
secondary
#D1E5A6
accent
#F533B8
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85