#9A8BCC#9A8BCC

#9A8BCC is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.5% C 0.096 H 294.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9A8BCC
RGBrgb(154, 139, 204)
HSLhsl(254, 39%, 67%)
HSVhsv(254, 32%, 80%)
CMYKcmyk(24.5%, 31.9%, 0%, 20%)
CIE-LABlab(61.39, 19.46, -31.52)
CIE-LCHlch(61.39, 37.04, 301.68°)
OKLaboklab(67.47% 0.0394 -0.0873)
OKLCHoklch(67.47% 0.096 294.3)
XYZxyz(33.4556, 29.6945, 61.0841)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8BCC #BDCC8B
analogous
#8B9DCC #9A8BCC #BA8BCC
triadic
#9A8BCC #CC9A8B #8BCC9A
tetradic
#9A8BCC #CC8B9D #BDCC8B #8BCCBA
square
#9A8BCC #CC8B9D #BDCC8B #8BCCBA
split-complementary
#9A8BCC #CCBA8B #9DCC8B
monochromatic
#574399 #7560B9 #9A8BCC #BFB6DF #E4E0F1

Accessibility & contrast

On white

3.03
#9A8BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#9A8BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8BCC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8BCC#FFFFFF#000000##000000
##9A8BCC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95CF
Deuteranopia (green-blind)
#7C93CA
Tritanopia (blue-blind)
#9096A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9a8bcc;
/* rgb */ color: rgb(154, 139, 204);
/* oklch */ color: oklch(67.5% 0.096 294.3);
Tailwind
colors: {
  custom: {
    50: '#b9addb',
    500: '#9a8bcc',
    950: '#000000',
  },
}
SCSS
$custom: #9a8bcc;
$custom-light: #b9addb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8bcc",
  "rgb": {
    "r": 154,
    "g": 139,
    "b": 204
  },
  "hsl": {
    "h": 253.846,
    "s": 38.922,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6747,
    "c": 0.09574,
    "h": 294.3
  },
  "luminance": 0.29695
}

Semantic roles & 50–950 ramp

primary
#9A8BCC
secondary
#DFE4CF
accent
#B23495
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #9A8BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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