#9C8CD7#9C8CD7

#9C8CD7 is a light, moderate violet. Relative luminance 0.307; OKLCH L 68.3% C 0.110 H 293.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9C8CD7
RGBrgb(156, 140, 215)
HSLhsl(253, 48%, 70%)
HSVhsv(253, 35%, 84%)
CMYKcmyk(27.4%, 34.9%, 0%, 15.7%)
CIE-LABlab(62.28, 22.17, -36.28)
CIE-LCHlch(62.28, 42.52, 301.43°)
OKLaboklab(68.35% 0.043 -0.1009)
OKLCHoklch(68.35% 0.11 293.1)
XYZxyz(35.3511, 30.7299, 68.3458)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8CD7 #C7D78C
analogous
#8CA2D7 #9C8CD7 #C28CD7
triadic
#9C8CD7 #D79C8C #8CD79C
tetradic
#9C8CD7 #D78CA2 #C7D78C #8CD7C2
square
#9C8CD7 #D78CA2 #C7D78C #8CD7C2
split-complementary
#9C8CD7 #D7C28C #A2D78C
monochromatic
#543CAD #755FC7 #9C8CD7 #C3B9E7 #EAE7F7

Accessibility & contrast

On white

2.94
#9C8CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#9C8CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8CD7
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8CD7#FFFFFF#000000##000000
##9C8CD71.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7897DA
Deuteranopia (green-blind)
#7A95D5
Tritanopia (blue-blind)
#8F99A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9c8cd7;
/* rgb */ color: rgb(156, 140, 215);
/* oklch */ color: oklch(68.3% 0.110 293.1);
Tailwind
colors: {
  custom: {
    50: '#bbade3',
    500: '#9c8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #9c8cd7;
$custom-light: #bbade3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8cd7",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 252.8,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68346,
    "c": 0.10968,
    "h": 293.1
  },
  "luminance": 0.3073
}

Semantic roles & 50–950 ramp

primary
#9C8CD7
secondary
#E6EAD5
accent
#BC2A9D
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #9C8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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