#9C8DCA#9C8DCA

#9C8DCA is a light, moderate violet. Relative luminance 0.304; OKLCH L 67.9% C 0.090 H 295.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9C8DCA
RGBrgb(156, 141, 202)
HSLhsl(255, 37%, 67%)
HSVhsv(255, 30%, 79%)
CMYKcmyk(22.8%, 30.2%, 0%, 20.8%)
CIE-LABlab(61.98, 18.44, -29.47)
CIE-LCHlch(61.98, 34.76, 302.03°)
OKLaboklab(67.94% 0.0383 -0.0814)
OKLCHoklch(67.94% 0.09 295.2)
XYZxyz(33.8934, 30.3816, 59.9443)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8DCA #BBCA8D
analogous
#8D9DCA #9C8DCA #BB8DCA
triadic
#9C8DCA #CA9C8D #8DCA9C
tetradic
#9C8DCA #CA8D9D #BBCA8D #8DCABB
square
#9C8DCA #CA8D9D #BBCA8D #8DCABB
split-complementary
#9C8DCA #CABB8D #9DCA8D
monochromatic
#5A4697 #7863B7 #9C8DCA #C0B7DD #E5E1F1

Accessibility & contrast

On white

2.97
#9C8DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#9C8DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8DCA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8DCA#FFFFFF#000000##000000
##9C8DCA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CD
Deuteranopia (green-blind)
#8095C8
Tritanopia (blue-blind)
#9397A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c8dca;
/* rgb */ color: rgb(156, 141, 202);
/* oklch */ color: oklch(67.9% 0.090 295.2);
Tailwind
colors: {
  custom: {
    50: '#baaeda',
    500: '#9c8dca',
    950: '#000000',
  },
}
SCSS
$custom: #9c8dca;
$custom-light: #baaeda;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8dca",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 254.754,
    "s": 36.527,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67939,
    "c": 0.08992,
    "h": 295.2
  },
  "luminance": 0.30382
}

Semantic roles & 50–950 ramp

primary
#9C8DCA
secondary
#DEE3D0
accent
#AF3692
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#121015
muted
#817F83

Preview Lab

Preview with #9C8DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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