#9D8EA2#9D8EA2

#9D8EA2 is a light, muted purple. Relative luminance 0.291; OKLCH L 66.6% C 0.034 H 317.7°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9D8EA2
RGBrgb(157, 142, 162)
HSLhsl(285, 10%, 60%)
HSVhsv(285, 12%, 64%)
CMYKcmyk(3.1%, 12.3%, 0%, 36.5%)
CIE-LABlab(60.89, 9.38, -8.50)
CIE-LCHlch(60.89, 12.66, 317.81°)
OKLaboklab(66.64% 0.025 -0.0227)
OKLCHoklch(66.64% 0.034 317.7)
XYZxyz(30.0982, 29.1230, 38.2111)
Luminance0.2912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8EA2 #93A28E
analogous
#938EA2 #9D8EA2 #A28E9D
triadic
#9D8EA2 #A29D8E #8EA29D
tetradic
#9D8EA2 #A2938E #93A28E #8E9DA2
square
#9D8EA2 #A2938E #93A28E #8E9DA2
split-complementary
#9D8EA2 #9DA28E #8EA293
monochromatic
#5F5264 #7F6E85 #9D8EA2 #BAB0BE #D7D1D9

Accessibility & contrast

On white

3.08
#9D8EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#9D8EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8EA2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8EA2#FFFFFF#000000##000000
##9D8EA21.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C92A3
Deuteranopia (green-blind)
#8F93A1
Tritanopia (blue-blind)
#9D9095
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d8ea2;
/* rgb */ color: rgb(157, 142, 162);
/* oklch */ color: oklch(66.6% 0.034 317.7);
Tailwind
colors: {
  custom: {
    50: '#baafbd',
    500: '#9d8ea2',
    950: '#000000',
  },
}
SCSS
$custom: #9d8ea2;
$custom-light: #baafbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8ea2",
  "rgb": {
    "r": 157,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 285,
    "s": 9.709,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66641,
    "c": 0.03377,
    "h": 317.7
  },
  "luminance": 0.29123
}

Semantic roles & 50–950 ramp

primary
#9D8EA2
secondary
#C4CAC2
accent
#B37585
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #9D8EA2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9D8EA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva