#9A8DB7#9A8DB7

#9A8DB7 is a light, moderate violet. Relative luminance 0.293; OKLCH L 67.0% C 0.063 H 298.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9A8DB7
RGBrgb(154, 141, 183)
HSLhsl(259, 23%, 64%)
HSVhsv(259, 23%, 72%)
CMYKcmyk(15.8%, 23%, 0%, 28.2%)
CIE-LABlab(61.08, 13.40, -20.16)
CIE-LCHlch(61.08, 24.21, 303.61°)
OKLaboklab(66.96% 0.0304 -0.055)
OKLCHoklch(66.96% 0.063 298.9)
XYZxyz(31.3968, 29.3386, 48.7994)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8DB7 #AAB78D
analogous
#8D95B7 #9A8DB7 #AF8DB7
triadic
#9A8DB7 #B79A8D #8DB79A
tetradic
#9A8DB7 #B78D95 #AAB78D #8DB7AF
square
#9A8DB7 #B78D95 #AAB78D #8DB7AF
split-complementary
#9A8DB7 #B7AF8D #95B78D
monochromatic
#5C4E7C #79679F #9A8DB7 #BBB3CF #DCD8E6

Accessibility & contrast

On white

3.06
#9A8DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#9A8DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8DB7
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8DB7#FFFFFF#000000##000000
##9A8DB71.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8493B9
Deuteranopia (green-blind)
#8693B6
Tritanopia (blue-blind)
#95939B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9a8db7;
/* rgb */ color: rgb(154, 141, 183);
/* oklch */ color: oklch(67.0% 0.063 298.9);
Tailwind
colors: {
  custom: {
    50: '#b8aecc',
    500: '#9a8db7',
    950: '#000000',
  },
}
SCSS
$custom: #9a8db7;
$custom-light: #b8aecc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8db7",
  "rgb": {
    "r": 154,
    "g": 141,
    "b": 183
  },
  "hsl": {
    "h": 258.571,
    "s": 22.581,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6696,
    "c": 0.06285,
    "h": 298.9
  },
  "luminance": 0.29339
}

Semantic roles & 50–950 ramp

primary
#9A8DB7
secondary
#D3D7C8
accent
#A14484
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #9A8DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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