#9C8DCD#9C8DCD

#9C8DCD is a light, moderate violet. Relative luminance 0.305; OKLCH L 68.1% C 0.094 H 294.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9C8DCD
RGBrgb(156, 141, 205)
HSLhsl(254, 39%, 68%)
HSVhsv(254, 31%, 80%)
CMYKcmyk(23.9%, 31.2%, 0%, 19.6%)
CIE-LABlab(62.10, 19.15, -30.96)
CIE-LCHlch(62.10, 36.40, 301.74°)
OKLaboklab(68.07% 0.0391 -0.0856)
OKLCHoklch(68.07% 0.094 294.5)
XYZxyz(34.2520, 30.5251, 61.8331)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8DCD #BECD8D
analogous
#8D9ECD #9C8DCD #BC8DCD
triadic
#9C8DCD #CD9C8D #8DCD9C
tetradic
#9C8DCD #CD8D9E #BECD8D #8DCDBC
square
#9C8DCD #CD8D9E #BECD8D #8DCDBC
split-complementary
#9C8DCD #CDBC8D #9ECD8D
monochromatic
#59449B #7762BA #9C8DCD #C1B8E0 #E6E2F2

Accessibility & contrast

On white

2.96
#9C8DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#9C8DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8DCD
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8DCD#FFFFFF#000000##000000
##9C8DCD1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D97D0
Deuteranopia (green-blind)
#7F95CB
Tritanopia (blue-blind)
#9298A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c8dcd;
/* rgb */ color: rgb(156, 141, 205);
/* oklch */ color: oklch(68.1% 0.094 294.5);
Tailwind
colors: {
  custom: {
    50: '#baaedc',
    500: '#9c8dcd',
    950: '#000000',
  },
}
SCSS
$custom: #9c8dcd;
$custom-light: #baaedc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8dcd",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 254.063,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68073,
    "c": 0.09413,
    "h": 294.5
  },
  "luminance": 0.30525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C8DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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