#7057CF#7057CF
#7057CF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.178 H 288.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7057CF |
|---|---|
| RGB | rgb(112, 87, 207) |
| HSL | hsl(253, 56%, 58%) |
| HSV | hsv(253, 58%, 81%) |
| CMYK | cmyk(45.9%, 58%, 0%, 18.8%) |
| CIE-LAB | lab(45.31, 39.67, -58.94) |
| CIE-LCH | lch(45.31, 71.04, 303.94°) |
| OKLab | oklab(54.51% 0.0569 -0.1682) |
| OKLCH | oklch(54.51% 0.178 288.7) |
| XYZ | xyz(21.3496, 14.7653, 60.7445) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.10
Slate Blue
#6A5ACD
ΔE00 1.52
Iris
#6258C4
ΔE00 3.06
Dark Periwinkle
#665FD1
ΔE00 3.31
Purpley
#8756E4
ΔE00 4.96
Warm Blue
#4B57DB
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7057CF #B6CF57
analogous
#577ACF #7057CF #AC57CF
triadic
#7057CF #CF7057 #57CF70
tetradic
#7057CF #CF577A #B6CF57 #57CFAC
square
#7057CF #CF577A #B6CF57 #57CFAC
split-complementary
#7057CF #CFAC57 #7ACF57
monochromatic
#3A2685 #4F34B5 #7057CF #9987DD #C1B6EA
Accessibility & contrast
On white
5.31
#7057CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7057CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7057CF
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7057CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7057CF | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#52728B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7057cf; /* rgb */ color: rgb(112, 87, 207); /* oklch */ color: oklch(54.5% 0.178 288.7);
Tailwind
colors: {
custom: {
50: '#9f87de',
500: '#7057cf',
950: '#000000',
},
}SCSS
$custom: #7057cf; $custom-light: #9f87de; $custom-dark: #000000;
JSON
{
"hex": "#7057cf",
"rgb": {
"r": 112,
"g": 87,
"b": 207
},
"hsl": {
"h": 252.5,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.54509,
"c": 0.17758,
"h": 288.7
},
"luminance": 0.14766
}Semantic roles & 50–950 ramp
primary
#7057CF
secondary
#CFD9A9
accent
#DF49C0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83