#9D8EA5#9D8EA5

#9D8EA5 is a light, muted violet. Relative luminance 0.292; OKLCH L 66.7% C 0.038 H 314.0°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9D8EA5
RGBrgb(157, 142, 165)
HSLhsl(279, 11%, 60%)
HSVhsv(279, 14%, 65%)
CMYKcmyk(4.8%, 13.9%, 0%, 35.3%)
CIE-LABlab(60.98, 9.99, -10.07)
CIE-LCHlch(60.98, 14.18, 314.77°)
OKLaboklab(66.75% 0.0261 -0.027)
OKLCHoklch(66.75% 0.038 314)
XYZxyz(30.3681, 29.2309, 39.6323)
Luminance0.2923 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8EA5 #96A58E
analogous
#918EA5 #9D8EA5 #A58EA1
triadic
#9D8EA5 #A59D8E #8EA59D
tetradic
#9D8EA5 #A5918E #96A58E #8EA1A5
square
#9D8EA5 #A5918E #96A58E #8EA1A5
split-complementary
#9D8EA5 #A1A58E #8EA591
monochromatic
#5F5267 #7F6D89 #9D8EA5 #BBB0C0 #D8D2DB

Accessibility & contrast

On white

3.07
#9D8EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#9D8EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8EA5
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8EA5#FFFFFF#000000##000000
##9D8EA51.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B92A6
Deuteranopia (green-blind)
#8E94A4
Tritanopia (blue-blind)
#9D9096
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d8ea5;
/* rgb */ color: rgb(157, 142, 165);
/* oklch */ color: oklch(66.7% 0.038 314.0);
Tailwind
colors: {
  custom: {
    50: '#baafbf',
    500: '#9d8ea5',
    950: '#000000',
  },
}
SCSS
$custom: #9d8ea5;
$custom-light: #baafbf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8ea5",
  "rgb": {
    "r": 157,
    "g": 142,
    "b": 165
  },
  "hsl": {
    "h": 279.13,
    "s": 11.33,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66746,
    "c": 0.03755,
    "h": 314
  },
  "luminance": 0.29231
}

Semantic roles & 50–950 ramp

primary
#9D8EA5
secondary
#C6CCC3
accent
#955068
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #9D8EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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