#7056CF#7056CF
#7056CF is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.3% C 0.179 H 288.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7056CF |
|---|---|
| RGB | rgb(112, 86, 207) |
| HSL | hsl(253, 56%, 57%) |
| HSV | hsv(253, 58%, 81%) |
| CMYK | cmyk(45.9%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(45.09, 40.25, -59.30) |
| CIE-LCH | lch(45.09, 71.67, 304.17°) |
| OKLab | oklab(54.35% 0.058 -0.1693) |
| OKLCH | oklch(54.35% 0.179 288.9) |
| XYZ | xyz(21.2692, 14.6045, 60.7177) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.36
Slate Blue
#6A5ACD
ΔE00 1.73
Iris
#6258C4
ΔE00 3.13
Dark Periwinkle
#665FD1
ΔE00 3.54
Purpley
#8756E4
ΔE00 4.97
Warm Blue
#4B57DB
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7056CF #B5CF56
analogous
#5678CF #7056CF #AD56CF
triadic
#7056CF #CF7056 #56CF70
tetradic
#7056CF #CF5678 #B5CF56 #56CFAD
square
#7056CF #CF5678 #B5CF56 #56CFAD
split-complementary
#7056CF #CFAD56 #78CF56
monochromatic
#3A2685 #4F33B5 #7056CF #9886DD #C1B5EA
Accessibility & contrast
On white
5.36
#7056CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#7056CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7056CF
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7056CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7056CF | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#52718A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7056cf; /* rgb */ color: rgb(112, 86, 207); /* oklch */ color: oklch(54.3% 0.179 288.9);
Tailwind
colors: {
custom: {
50: '#9f86de',
500: '#7056cf',
950: '#000000',
},
}SCSS
$custom: #7056cf; $custom-light: #9f86de; $custom-dark: #000000;
JSON
{
"hex": "#7056cf",
"rgb": {
"r": 112,
"g": 86,
"b": 207
},
"hsl": {
"h": 252.893,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.54345,
"c": 0.17894,
"h": 288.9
},
"luminance": 0.14605
}Semantic roles & 50–950 ramp
primary
#7056CF
secondary
#CED9A8
accent
#DF49BF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83