#9C8FBA#9C8FBA

#9C8FBA is a light, moderate violet. Relative luminance 0.303; OKLCH L 67.7% C 0.064 H 298.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9C8FBA
RGBrgb(156, 143, 186)
HSLhsl(258, 24%, 65%)
HSVhsv(258, 23%, 73%)
CMYKcmyk(16.1%, 23.1%, 0%, 27.1%)
CIE-LABlab(61.88, 13.58, -20.62)
CIE-LCHlch(61.88, 24.70, 303.37°)
OKLaboklab(67.65% 0.0306 -0.0563)
OKLCHoklch(67.65% 0.064 298.5)
XYZxyz(32.3938, 30.2579, 50.5786)
Luminance0.3026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8FBA #ADBA8F
analogous
#8F98BA #9C8FBA #B28FBA
triadic
#9C8FBA #BA9C8F #8FBA9C
tetradic
#9C8FBA #BA8F98 #ADBA8F #8FBAB2
square
#9C8FBA #BA8F98 #ADBA8F #8FBAB2
split-complementary
#9C8FBA #BAB28F #98BA8F
monochromatic
#5E4F80 #7B69A3 #9C8FBA #BDB5D1 #DFDBE9

Accessibility & contrast

On white

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

On black

7.05
#9C8FBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8FBA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8FBA#FFFFFF#000000##000000
##9C8FBA1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8695BC
Deuteranopia (green-blind)
#8895B9
Tritanopia (blue-blind)
#97959E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9c8fba;
/* rgb */ color: rgb(156, 143, 186);
/* oklch */ color: oklch(67.7% 0.064 298.5);
Tailwind
colors: {
  custom: {
    50: '#b9afce',
    500: '#9c8fba',
    950: '#000000',
  },
}
SCSS
$custom: #9c8fba;
$custom-light: #b9afce;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8fba",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 186
  },
  "hsl": {
    "h": 258.14,
    "s": 23.757,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67654,
    "c": 0.06411,
    "h": 298.5
  },
  "luminance": 0.30258
}

Semantic roles & 50–950 ramp

primary
#9C8FBA
secondary
#D5DACB
accent
#A24386
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #9C8FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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