Accessibility
Vs white / black
3.14:1 · 6.69:1
Sources
Codes
HEX
#8d8dbf
RGB
rgb(141, 141, 191)
RGBA
rgba(141, 141, 191, 1)
HSL
hsl(240, 28%, 65%)
HSLA
hsla(240, 28%, 65%, 1)
HSV
hsv(240, 26%, 75%)
LAB
lab(60.31% 11.16 -25.95)
LCH
lch(60.31% 28.25 293.27)
OKLAB
oklab(0.6621 0.0181 -0.0716)
OKLCH
oklch(0.6621 0.0739 284.19)
XYZ
xyz(29.91, 28.47, 53.20)
CMYK
cmyk(26%, 26%, 0%, 25%)
CSS
color: #8d8dbf;
CSS variable
--color-8d8dbf: #8d8dbf;
SCSS
$color-8d8dbf: #8d8dbf;
JavaScript
const color = "#8d8dbf";
TypeScript
const color: string = "#8d8dbf";
React
style={{ backgroundColor: "#8d8dbf" }}
JSON
{ "hex": "#8d8dbf", "rgb": { "r": 141, "g": 141, "b": 191 }, "oklch": "oklch(0.6621 0.0739 284.19)" }
Export
:root {
--#8d8dbf-1: #8d8dbf;
}Design systems
An arbitrary HEX is not an official Tailwind, Material, or Bootstrap color. Distance is CIEDE2000.
Nearest Tailwind color
indigo-400
Very different · ΔE 10.73 · #818CF8
Nearest CSS named color
MediumPurple
Very different · ΔE 11.86 · #9370DB
Nearest Material color
indigo-300
Very different · ΔE 6.5 · #7986CB
Nearest Bootstrap color
secondary
Very different · ΔE 18.21 · #6C757D
OKLCH
Generated in OKLCH from this hex. Not an official Tailwind scale unless the hex itself is a Tailwind token.
Palette
Full scale from light tints through the base color into deep shades
Palette
Mixed toward white — soft backgrounds and highlights
Palette
Mixed toward black — depth, text, and emphasis
Palette
Mixed toward neutral grey — muted UI surfaces
Harmony
Opposite on the color wheel for contrast
Harmony
Neighbors that sit comfortably together
Harmony
Evenly spaced triad for vibrant sets
Harmony
Base plus two accents beside the complement
Harmony
Same hue, varied lightness and saturation
Using this color
#8D8DBF (#8d8dbf) sits in the indigo family at about 240° hue, 28% saturation, and 65% lightness. Contrast is 3.14:1 on white and 6.69:1 on black, so near-black labels read more clearly on the swatch itself. Nearest Tailwind token: indigo-400 (approximation unless the hex is an official scale stop).
Sensible jobs for this swatch
Do not use #8d8dbf as small body text on white — 3.14:1 misses WCAG AA (4.5:1). Pair it with a darker shade from the scale below, or check pairs in the contrast checker.
Family context: Intuition, depth, and sincerity. Common in enterprise software and thoughtful products. Common uses still include buttons, charts, and accents in the Indigo range — always verify the pair for this exact hex in the contrast checker.
Related
Nearby colors from the library by perceptual distance