#8A7CF8
A light, vivid blue closely aligning with Mediumslateblue.
About #8A7CF8
The hex code #8A7CF8 represents a beautifully specific shade of blue. Its closest recognized web color is Mediumslateblue. Its digital footprint relies on 138 parts red, 124 parts green, and 248 parts blue light.
Translating this color to physical media requires the CMYK color model. The color uses 44% Cyan, 50% Magenta, 0% Yellow, and 3% Black. The HSL representation is 246.8° hue, 89.9% saturation, and 72.9% lightness.
Ensuring your text is legible against this background is a key part of web design. To prevent eye strain, #000000 text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#8A7CF8
RGB138, 124, 248
HSL246.8°, 89.9%, 72.9%
CMYK44%, 50%, 0%, 3%
HSV246.8°, 50.0%, 97.3%
LAB58.6, 35.6, -60.5
XYZ34.6, 26.6, 92.1
Decimal9075960
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
3.32:1
Text on #FFFFFF
AA Large
6.32:1
Text on #000000
AA
3.18:1
Text on #F8FAFC
AA Large
5.37:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #8A7CF8;
}
.text-color {
color: #8A7CF8;
}
.border-color {
border: 2px solid #8A7CF8;
}