#9B8CCE#9B8CCE

#9B8CCE is a light, moderate violet. Relative luminance 0.302; OKLCH L 67.8% C 0.097 H 294.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9B8CCE
RGBrgb(155, 140, 206)
HSLhsl(254, 40%, 68%)
HSVhsv(254, 32%, 81%)
CMYKcmyk(24.8%, 32%, 0%, 19.2%)
CIE-LABlab(61.81, 19.67, -31.98)
CIE-LCHlch(61.81, 37.55, 301.59°)
OKLaboklab(67.84% 0.0396 -0.0886)
OKLCHoklch(67.84% 0.097 294.1)
XYZxyz(34.0336, 30.1806, 62.4129)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8CCE #BFCE8C
analogous
#8C9ECE #9B8CCE #BC8CCE
triadic
#9B8CCE #CE9B8C #8CCE9B
tetradic
#9B8CCE #CE8C9E #BFCE8C #8CCEBC
square
#9B8CCE #CE8C9E #BFCE8C #8CCEBC
split-complementary
#9B8CCE #CEBC8C #9ECE8C
monochromatic
#57439D #7661BC #9B8CCE #C0B7E0 #E6E2F3

Accessibility & contrast

On white

2.98
#9B8CCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#9B8CCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B8CCE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8CCE#FFFFFF#000000##000000
##9B8CCE1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B96D1
Deuteranopia (green-blind)
#7D94CC
Tritanopia (blue-blind)
#9197A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9b8cce;
/* rgb */ color: rgb(155, 140, 206);
/* oklch */ color: oklch(67.8% 0.097 294.1);
Tailwind
colors: {
  custom: {
    50: '#b9addd',
    500: '#9b8cce',
    950: '#000000',
  },
}
SCSS
$custom: #9b8cce;
$custom-light: #b9addd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8cce",
  "rgb": {
    "r": 155,
    "g": 140,
    "b": 206
  },
  "hsl": {
    "h": 253.636,
    "s": 40.244,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6784,
    "c": 0.09703,
    "h": 294.1
  },
  "luminance": 0.30181
}

Semantic roles & 50–950 ramp

primary
#9B8CCE
secondary
#E0E5D1
accent
#B33296
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #9B8CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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