#7057BB#7057BB
#7057BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.1% C 0.151 H 292.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7057BB |
|---|---|
| RGB | rgb(112, 87, 187) |
| HSL | hsl(255, 42%, 54%) |
| HSV | hsv(255, 53%, 73%) |
| CMYK | cmyk(40.1%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(44.01, 33.96, -49.45) |
| CIE-LCH | lch(44.01, 59.99, 304.48°) |
| OKLab | oklab(53.14% 0.0566 -0.1403) |
| OKLCH | oklch(53.14% 0.151 292) |
| XYZ | xyz(19.0575, 13.8485, 48.6730) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.40
Slate Blue
#6A5ACD
ΔE00 3.42
Light Indigo
#6D5ACF
ΔE00 3.46
Royal Purple
#7851A9
ΔE00 4.47
Dark Periwinkle
#665FD1
ΔE00 5.02
Bluey Purple
#6241C7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7057BB #A2BB57
analogous
#5770BB #7057BB #A257BB
triadic
#7057BB #BB7057 #57BB70
tetradic
#7057BB #BB5770 #A2BB57 #57BBA2
square
#7057BB #BB5770 #A2BB57 #57BBA2
split-complementary
#7057BB #BBA257 #70BB57
monochromatic
#3C2C6C #543D97 #7057BB #9583CD #BAAEDE
Accessibility & contrast
On white
5.57
#7057BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#7057BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7057BB
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7057BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7057BB | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A6ABE
Deuteranopia (green-blind)
#2F66B9
Tritanopia (blue-blind)
#5C6C80
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7057bb; /* rgb */ color: rgb(112, 87, 187); /* oklch */ color: oklch(53.1% 0.151 292.0);
Tailwind
colors: {
custom: {
50: '#9d87d0',
500: '#7057bb',
950: '#000000',
},
}SCSS
$custom: #7057bb; $custom-light: #9d87d0; $custom-dark: #000000;
JSON
{
"hex": "#7057bb",
"rgb": {
"r": 112,
"g": 87,
"b": 187
},
"hsl": {
"h": 255,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.53137,
"c": 0.15132,
"h": 292
},
"luminance": 0.13849
}Semantic roles & 50–950 ramp
primary
#7057BB
secondary
#C2CCA2
accent
#D256B3
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82