#9C8CD2#9C8CD2

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

Color values

HEX#9C8CD2
RGBrgb(156, 140, 210)
HSLhsl(254, 44%, 69%)
HSVhsv(254, 33%, 82%)
CMYKcmyk(25.7%, 33.3%, 0%, 17.6%)
CIE-LABlab(62.06, 20.94, -33.82)
CIE-LCHlch(62.06, 39.78, 301.76°)
OKLaboklab(68.11% 0.0418 -0.0938)
OKLCHoklch(68.11% 0.103 294)
XYZxyz(34.7185, 30.4768, 65.0137)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8CD2 #C2D28C
analogous
#8C9FD2 #9C8CD2 #BF8CD2
triadic
#9C8CD2 #D29C8C #8CD29C
tetradic
#9C8CD2 #D28C9F #C2D28C #8CD2BF
square
#9C8CD2 #D28C9F #C2D28C #8CD2BF
split-complementary
#9C8CD2 #D2BF8C #9FD28C
monochromatic
#5740A4 #7660C1 #9C8CD2 #C2B8E3 #E8E4F4

Accessibility & contrast

On white

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

On black

7.10
#9C8CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8CD2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8CD2#FFFFFF#000000##000000
##9C8CD21.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A97D5
Deuteranopia (green-blind)
#7C95D0
Tritanopia (blue-blind)
#9198A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c8cd2;
/* rgb */ color: rgb(156, 140, 210);
/* oklch */ color: oklch(68.1% 0.103 294.0);
Tailwind
colors: {
  custom: {
    50: '#baade0',
    500: '#9c8cd2',
    950: '#000000',
  },
}
SCSS
$custom: #9c8cd2;
$custom-light: #baade0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8cd2",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 253.714,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68111,
    "c": 0.10272,
    "h": 294
  },
  "luminance": 0.30477
}

Semantic roles & 50–950 ramp

primary
#9C8CD2
secondary
#E3E7D2
accent
#B72F98
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #9C8CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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