#7057BF#7057BF
#7057BF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.4% C 0.157 H 291.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7057BF |
|---|---|
| RGB | rgb(112, 87, 191) |
| HSL | hsl(254, 45%, 55%) |
| HSV | hsv(254, 54%, 75%) |
| CMYK | cmyk(41.4%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(44.26, 35.09, -51.38) |
| CIE-LCH | lch(44.26, 62.22, 304.33°) |
| OKLab | oklab(53.4% 0.0568 -0.146) |
| OKLCH | oklch(53.4% 0.157 291.2) |
| XYZ | xyz(19.4917, 14.0221, 50.9597) |
| Luminance | 0.1402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.83
Slate Blue
#6A5ACD
ΔE00 2.83
Iris
#6258C4
ΔE00 3.06
Dark Periwinkle
#665FD1
ΔE00 4.53
Royal Purple
#7851A9
ΔE00 5.01
Bluey Purple
#6241C7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7057BF #A6BF57
analogous
#5772BF #7057BF #A457BF
triadic
#7057BF #BF7057 #57BF70
tetradic
#7057BF #BF5772 #A6BF57 #57BFA4
square
#7057BF #BF5772 #A6BF57 #57BFA4
split-complementary
#7057BF #BFA457 #72BF57
monochromatic
#3C2B71 #533C9D #7057BF #9683D0 #BBB0E1
Accessibility & contrast
On white
5.52
#7057BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#7057BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7057BF
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7057BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7057BF | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256AC3
Deuteranopia (green-blind)
#2A66BD
Tritanopia (blue-blind)
#5A6D82
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7057bf; /* rgb */ color: rgb(112, 87, 191); /* oklch */ color: oklch(53.4% 0.157 291.2);
Tailwind
colors: {
custom: {
50: '#9e87d3',
500: '#7057bf',
950: '#000000',
},
}SCSS
$custom: #7057bf; $custom-light: #9e87d3; $custom-dark: #000000;
JSON
{
"hex": "#7057bf",
"rgb": {
"r": 112,
"g": 87,
"b": 191
},
"hsl": {
"h": 254.423,
"s": 44.828,
"l": 54.51
},
"oklch": {
"l": 0.53403,
"c": 0.15664,
"h": 291.2
},
"luminance": 0.14023
}Semantic roles & 50–950 ramp
primary
#7057BF
secondary
#C4CFA3
accent
#D553B5
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83