#7050C8#7050C8
#7050C8 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.178 H 291.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7050C8 |
|---|---|
| RGB | rgb(112, 80, 200) |
| HSL | hsl(256, 52%, 55%) |
| HSV | hsv(256, 60%, 78%) |
| CMYK | cmyk(44%, 60%, 0%, 21.6%) |
| CIE-LAB | lab(43.29, 41.71, -58.17) |
| CIE-LCH | lch(43.29, 71.58, 305.64°) |
| OKLab | oklab(52.87% 0.065 -0.166) |
| OKLCH | oklch(52.87% 0.178 291.4) |
| XYZ | xyz(19.9732, 13.3516, 56.1571) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.24
Slate Blue
#6A5ACD
ΔE00 3.37
Iris
#6258C4
ΔE00 3.78
Bluey Purple
#6241C7
ΔE00 4.51
Dark Periwinkle
#665FD1
ΔE00 5.32
Bluish Purple
#703BE7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7050C8 #A8C850
analogous
#506CC8 #7050C8 #AC50C8
triadic
#7050C8 #C87050 #50C870
tetradic
#7050C8 #C8506C #A8C850 #50C8AC
square
#7050C8 #C8506C #A8C850 #50C8AC
split-complementary
#7050C8 #C8AC50 #6CC850
monochromatic
#3C2678 #5334A6 #7050C8 #967FD7 #BCADE5
Accessibility & contrast
On white
5.72
#7050C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#7050C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7050C8
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7050C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7050C8 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#566B84
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7050c8; /* rgb */ color: rgb(112, 80, 200); /* oklch */ color: oklch(52.9% 0.178 291.4);
Tailwind
colors: {
custom: {
50: '#9f82d9',
500: '#7050c8',
950: '#000000',
},
}SCSS
$custom: #7050c8; $custom-light: #9f82d9; $custom-dark: #000000;
JSON
{
"hex": "#7050c8",
"rgb": {
"r": 112,
"g": 80,
"b": 200
},
"hsl": {
"h": 256,
"s": 52.174,
"l": 54.902
},
"oklch": {
"l": 0.52873,
"c": 0.17825,
"h": 291.4
},
"luminance": 0.13352
}Semantic roles & 50–950 ramp
primary
#7050C8
secondary
#C6D3A1
accent
#DC4CB5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83