#9C8DC4#9C8DC4

#9C8DC4 is a light, moderate violet. Relative luminance 0.301; OKLCH L 67.7% C 0.082 H 296.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9C8DC4
RGBrgb(156, 141, 196)
HSLhsl(256, 32%, 66%)
HSVhsv(256, 28%, 77%)
CMYKcmyk(20.4%, 28.1%, 0%, 23.1%)
CIE-LABlab(61.74, 17.02, -26.46)
CIE-LCHlch(61.74, 31.46, 302.75°)
OKLaboklab(67.68% 0.0366 -0.0728)
OKLCHoklch(67.68% 0.082 296.7)
XYZxyz(33.1968, 30.1030, 56.2754)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8DC4 #B5C48D
analogous
#8D99C4 #9C8DC4 #B78DC4
triadic
#9C8DC4 #C49C8D #8DC49C
tetradic
#9C8DC4 #C48D99 #B5C48D #8DC4B7
square
#9C8DC4 #C48D99 #B5C48D #8DC4B7
split-complementary
#9C8DC4 #C4B78D #99C48D
monochromatic
#5C498D #7965AF #9C8DC4 #BFB5D9 #E2DEEE

Accessibility & contrast

On white

2.99
#9C8DC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#9C8DC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8DC4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8DC4#FFFFFF#000000##000000
##9C8DC41.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8195C6
Deuteranopia (green-blind)
#8395C2
Tritanopia (blue-blind)
#9496A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9c8dc4;
/* rgb */ color: rgb(156, 141, 196);
/* oklch */ color: oklch(67.7% 0.082 296.7);
Tailwind
colors: {
  custom: {
    50: '#baaed6',
    500: '#9c8dc4',
    950: '#000000',
  },
}
SCSS
$custom: #9c8dc4;
$custom-light: #baaed6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8dc4",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 196
  },
  "hsl": {
    "h": 256.364,
    "s": 31.792,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67676,
    "c": 0.0815,
    "h": 296.7
  },
  "luminance": 0.30103
}

Semantic roles & 50–950 ramp

primary
#9C8DC4
secondary
#DBDFCD
accent
#AB3B8C
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #9C8DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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