#9A8CB7#9A8CB7

#9A8CB7 is a light, moderate violet. Relative luminance 0.290; OKLCH L 66.8% C 0.065 H 299.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9A8CB7
RGBrgb(154, 140, 183)
HSLhsl(260, 23%, 63%)
HSVhsv(260, 23%, 72%)
CMYKcmyk(15.8%, 23.5%, 0%, 28.2%)
CIE-LABlab(60.82, 13.97, -20.55)
CIE-LCHlch(60.82, 24.85, 304.20°)
OKLaboklab(66.76% 0.0318 -0.0561)
OKLCHoklch(66.76% 0.065 299.6)
XYZxyz(31.2500, 29.0450, 48.7505)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8CB7 #A9B78C
analogous
#8C93B7 #9A8CB7 #AF8CB7
triadic
#9A8CB7 #B79A8C #8CB79A
tetradic
#9A8CB7 #B78C93 #A9B78C #8CB7AF
square
#9A8CB7 #B78C93 #A9B78C #8CB7AF
split-complementary
#9A8CB7 #B7AF8C #93B78C
monochromatic
#5C4D7B #79669F #9A8CB7 #BBB2CF #DCD7E6

Accessibility & contrast

On white

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

On black

6.81
#9A8CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8CB7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8CB7#FFFFFF#000000##000000
##9A8CB71.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8393B9
Deuteranopia (green-blind)
#8592B6
Tritanopia (blue-blind)
#95929B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9a8cb7;
/* rgb */ color: rgb(154, 140, 183);
/* oklch */ color: oklch(66.8% 0.065 299.6);
Tailwind
colors: {
  custom: {
    50: '#b8adcc',
    500: '#9a8cb7',
    950: '#000000',
  },
}
SCSS
$custom: #9a8cb7;
$custom-light: #b8adcc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8cb7",
  "rgb": {
    "r": 154,
    "g": 140,
    "b": 183
  },
  "hsl": {
    "h": 259.535,
    "s": 22.995,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6676,
    "c": 0.06454,
    "h": 299.6
  },
  "luminance": 0.29045
}

Semantic roles & 50–950 ramp

primary
#9A8CB7
secondary
#D2D7C8
accent
#A14483
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #9A8CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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