#7949CF#7949CF
#7949CF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.197 H 295.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7949CF |
|---|---|
| RGB | rgb(121, 73, 207) |
| HSL | hsl(261, 58%, 55%) |
| HSV | hsv(261, 65%, 81%) |
| CMYK | cmyk(41.5%, 64.7%, 0%, 18.8%) |
| CIE-LAB | lab(43.26, 49.34, -62.21) |
| CIE-LCH | lch(43.26, 79.40, 308.42°) |
| OKLab | oklab(53.23% 0.0843 -0.1776) |
| OKLCH | oklch(53.23% 0.197 295.4) |
| XYZ | xyz(21.5272, 13.3345, 60.4590) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.31
Bluey Purple
#6241C7
ΔE00 4.54
Light Indigo
#6D5ACF
ΔE00 5.19
Purpley
#8756E4
ΔE00 5.37
Slate Blue
#6A5ACD
ΔE00 5.50
Blueviolet
#8A2BE2
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7949CF #9FCF49
analogous
#495CCF #7949CF #BC49CF
triadic
#7949CF #CF7949 #49CF79
tetradic
#7949CF #CF495C #9FCF49 #49CFBC
square
#7949CF #CF495C #9FCF49 #49CFBC
split-complementary
#7949CF #CFBC49 #5CCF49
monochromatic
#42217D #5B2EAD #7949CF #9D79DC #C0AAE9
Accessibility & contrast
On white
5.73
#7949CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#7949CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7949CF
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7949CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7949CF | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#626886
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7949cf; /* rgb */ color: rgb(121, 73, 207); /* oklch */ color: oklch(53.2% 0.197 295.4);
Tailwind
colors: {
custom: {
50: '#a67edf',
500: '#7949cf',
950: '#000000',
},
}SCSS
$custom: #7949cf; $custom-light: #a67edf; $custom-dark: #000000;
JSON
{
"hex": "#7949cf",
"rgb": {
"r": 121,
"g": 73,
"b": 207
},
"hsl": {
"h": 261.493,
"s": 58.261,
"l": 54.902
},
"oklch": {
"l": 0.53227,
"c": 0.19654,
"h": 295.4
},
"luminance": 0.13335
}Semantic roles & 50–950 ramp
primary
#7949CF
secondary
#C2D69E
accent
#E146AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83