#9C8DC7#9C8DC7

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

Color values

HEX#9C8DC7
RGBrgb(156, 141, 199)
HSLhsl(256, 34%, 67%)
HSVhsv(256, 29%, 78%)
CMYKcmyk(21.6%, 29.1%, 0%, 22%)
CIE-LABlab(61.86, 17.72, -27.97)
CIE-LCHlch(61.86, 33.11, 302.36°)
OKLaboklab(67.81% 0.0374 -0.0771)
OKLCHoklch(67.81% 0.086 295.9)
XYZxyz(33.5416, 30.2409, 58.0917)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8DC7 #B8C78D
analogous
#8D9BC7 #9C8DC7 #B98DC7
triadic
#9C8DC7 #C79C8D #8DC79C
tetradic
#9C8DC7 #C78D9B #B8C78D #8DC7B9
square
#9C8DC7 #C78D9B #B8C78D #8DC7B9
split-complementary
#9C8DC7 #C7B98D #9BC78D
monochromatic
#5B4892 #7864B3 #9C8DC7 #C0B6DB #E3DFEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8DC7#FFFFFF#000000##000000
##9C8DC71.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)
#7F96C9
Deuteranopia (green-blind)
#8195C5
Tritanopia (blue-blind)
#9496A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9c8dc7;
/* rgb */ color: rgb(156, 141, 199);
/* oklch */ color: oklch(67.8% 0.086 295.9);
Tailwind
colors: {
  custom: {
    50: '#baaed8',
    500: '#9c8dc7',
    950: '#000000',
  },
}
SCSS
$custom: #9c8dc7;
$custom-light: #baaed8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8dc7",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 199
  },
  "hsl": {
    "h": 255.517,
    "s": 34.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67806,
    "c": 0.08571,
    "h": 295.9
  },
  "luminance": 0.30241
}

Semantic roles & 50–950 ramp

primary
#9C8DC7
secondary
#DCE1CF
accent
#AD398F
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #9C8DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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