Accessibility
Vs white / black
4.66:1 · 4.51:1
Sources
Codes
HEX
#9d6283
RGB
rgb(157, 98, 131)
RGBA
rgba(157, 98, 131, 1)
HSL
hsl(326, 23%, 50%)
HSLA
hsla(326, 23%, 50%, 1)
HSV
hsv(326, 38%, 62%)
LAB
lab(48.94% 28.8 -8.31)
LCH
lch(48.94% 29.97 343.9)
OKLAB
oklab(0.5711 0.0851 -0.0218)
OKLCH
oklch(0.5711 0.0878 345.63)
XYZ
xyz(22.37, 17.54, 23.68)
CMYK
cmyk(0%, 38%, 17%, 38%)
CSS
color: #9d6283;
CSS variable
--color-9d6283: #9d6283;
SCSS
$color-9d6283: #9d6283;
JavaScript
const color = "#9d6283";
TypeScript
const color: string = "#9d6283";
React
style={{ backgroundColor: "#9d6283" }}
JSON
{ "hex": "#9d6283", "rgb": { "r": 157, "g": 98, "b": 131 }, "oklch": "oklch(0.5711 0.0878 345.63)" }
Export
:root {
--#9d6283-1: #9d6283;
}Design systems
An arbitrary HEX is not an official Tailwind, Material, or Bootstrap color. Distance is CIEDE2000.
Nearest Tailwind color
pink-600
Very different · ΔE 14.06 · #DB2777
Nearest CSS named color
MediumVioletRed
Very different · ΔE 13.6 · #C71585
Nearest Material color
purple-300
Very different · ΔE 14.95 · #BA68C8
Nearest Bootstrap color
danger
Very different · ΔE 21.35 · #DC3545
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
#9D6283 (#9d6283) sits in the red family at about 326° hue, 23% saturation, and 50% lightness. Contrast is 4.66:1 on white and 4.51:1 on black, so white labels read more clearly on the swatch itself. Nearest Tailwind token: pink-600 (approximation unless the hex is an official scale stop).
Sensible jobs for this swatch
Verify real text sizes in the contrast checker — ratios here are for the raw swatch #9d6283, not for every tint in the scale.
Family context: Energy, urgency, passion, and excitement. Often used for CTAs, alerts, and brands that want attention. Common uses still include buttons, charts, and accents in the Red range — always verify the pair for this exact hex in the contrast checker.
Related
Nearby colors from the library by perceptual distance