#7049C8#7049C8
#7049C8 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.188 H 292.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7049C8 |
|---|---|
| RGB | rgb(112, 73, 200) |
| HSL | hsl(258, 54%, 54%) |
| HSV | hsv(258, 64%, 78%) |
| CMYK | cmyk(44%, 63.5%, 0%, 21.6%) |
| CIE-LAB | lab(41.81, 45.64, -60.56) |
| CIE-LCH | lch(41.81, 75.83, 307.00°) |
| OKLab | oklab(51.8% 0.0727 -0.173) |
| OKLCH | oklch(51.8% 0.188 292.8) |
| XYZ | xyz(19.4871, 12.3794, 55.9951) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.09
Bluish Purple
#703BE7
ΔE00 4.69
Light Indigo
#6D5ACF
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.11
Iris
#6258C4
ΔE00 5.25
Purpleish Blue
#6140EF
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7049C8 #A1C849
analogous
#4961C8 #7049C8 #AF49C8
triadic
#7049C8 #C87049 #49C870
tetradic
#7049C8 #C84961 #A1C849 #49C8AF
square
#7049C8 #C84961 #A1C849 #49C8AF
split-complementary
#7049C8 #C8AF49 #61C849
monochromatic
#3C2374 #5431A3 #7049C8 #9578D6 #BAA7E4
Accessibility & contrast
On white
6.04
#7049C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#7049C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7049C8
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7049C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7049C8 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#576782
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7049c8; /* rgb */ color: rgb(112, 73, 200); /* oklch */ color: oklch(51.8% 0.188 292.8);
Tailwind
colors: {
custom: {
50: '#9f7eda',
500: '#7049c8',
950: '#000000',
},
}SCSS
$custom: #7049c8; $custom-light: #9f7eda; $custom-dark: #000000;
JSON
{
"hex": "#7049c8",
"rgb": {
"r": 112,
"g": 73,
"b": 200
},
"hsl": {
"h": 258.425,
"s": 53.586,
"l": 53.529
},
"oklch": {
"l": 0.51799,
"c": 0.18767,
"h": 292.8
},
"luminance": 0.1238
}Semantic roles & 50–950 ramp
primary
#7049C8
secondary
#C1D29B
accent
#DD4BB0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83